Delete src/main/java/domain/FileManager.java
parent
8d518b8804
commit
eee2c10616
|
@ -1,26 +0,0 @@
|
||||||
package domain;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
public class FileManager {
|
|
||||||
FileLoader fileLoader = new FileLoader();
|
|
||||||
TextProcessing textProcessing = new TextProcessing();
|
|
||||||
private File file;
|
|
||||||
|
|
||||||
public String loadFile() {
|
|
||||||
file = fileLoader.loadFileGUI();
|
|
||||||
String fileFormat = fileLoader.getFileFormat(file);
|
|
||||||
String text = textProcessing.formatToText(file, fileFormat);
|
|
||||||
return text;
|
|
||||||
}
|
|
||||||
|
|
||||||
public HashMap tokenizingText(String text) {
|
|
||||||
HashMap<String, Integer> wordMap = textProcessing.tokenizingText(text);
|
|
||||||
return wordMap;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void saveFile(){}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue