Skip to content

Commit

Permalink
Final Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat-Mishra101 committed Feb 11, 2022
1 parent a121217 commit da714e3
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 26 deletions.
1 change: 1 addition & 0 deletions module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

7 changes: 2 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@
<version>0.10.7</version>
</dependency>

<dependency>
<groupId>net.sourceforge.tess4j</groupId>
<artifactId>tess4j</artifactId>
<version>5.0.0</version>
</dependency>

<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
Expand All @@ -58,6 +54,7 @@
</dependencies>
<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
7 changes: 3 additions & 4 deletions src/main/java/Engine/DataProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.text.PDFTextStripper;
import io.github.palexdev.materialfx.controls.MFXProgressSpinner;
import java.awt.image.BufferedImage;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
Expand All @@ -19,13 +19,12 @@
import java.util.List;
import java.util.Scanner;
import java.util.StringTokenizer;
import java.util.logging.Level;
import java.util.logging.Logger;

import javafx.animation.FadeTransition;
import javafx.concurrent.Task;
import javafx.scene.layout.AnchorPane;
import javafx.util.Duration;
import javax.imageio.ImageIO;

//import net.sourceforge.tess4j.ITesseract;
//import net.sourceforge.tess4j.Tesseract;
//import org.apache.pdfbox.pdmodel.PDDocument;
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/Engine/PLBOT.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
import java.util.List;
import java.util.Scanner;
import java.util.StringTokenizer;
import java.util.logging.Level;
import java.util.logging.Logger;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/Engine/Properties.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
import java.io.FileWriter;
import java.util.List;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;




Expand Down Expand Up @@ -81,7 +80,7 @@ public static void loadFiles()

}
} catch (Exception ex) {
Logger.getLogger(Properties.class.getName()).log(Level.SEVERE, null, ex);

}
}

Expand Down
30 changes: 30 additions & 0 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/

module FXPlagiarismChecker {
requires java.base;
requires java.desktop;
requires poi;

requires org.jsoup;
requires MaterialFX;
requires javafx.controls;
requires javafx.graphics;

requires javafx.fxml;
requires javafx.base;


requires org.fxmisc.richtext;
requires org.fxmisc.undo;


requires org.apache.pdfbox;


opens no.fxplagiarismchecker to javafx.fxml;
exports no.fxplagiarismchecker;
}
13 changes: 1 addition & 12 deletions src/main/java/no/fxplagiarismchecker/Starter.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,7 @@
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.imageio.ImageIO;
import net.sourceforge.tess4j.ITesseract;
import net.sourceforge.tess4j.Tesseract;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.rendering.ImageType;
import org.apache.pdfbox.rendering.PDFRenderer;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;


/**
*
Expand Down

0 comments on commit da714e3

Please sign in to comment.