+++ /dev/null
-package eu.svjatoslav.sixth.core.document;
-
-import eu.svjatoslav.commons.string.tokenizer.InvalidSyntaxException;
-
-import java.io.File;
-import java.io.IOException;
-
-import static eu.svjatoslav.commons.file.IOHelper.getFileContentsAsString;
-
-public class OrgParser {
-
- private Document document;
-
- public Document parse(File file) throws IOException, InvalidSyntaxException {
- document = new Document();
-
- String fileContentsAsString = getFileContentsAsString(file);
-
- document.parse(fileContentsAsString);
-
- return document;
- }
-
-}