summaryrefslogtreecommitdiffstats
path: root/conversion
diff options
context:
space:
mode:
authorrsiddharth <rsiddharth@ninthfloor.org>2012-11-28 09:05:54 +0530
committerrsiddharth <rsiddharth@ninthfloor.org>2012-11-28 09:05:54 +0530
commit7d0d748b58711a28f1af0fabe8d399ebc067b898 (patch)
treec7236daaba09273468dec135527b53a13fa050cd /conversion
parent8d538fa1c1fccb3ce1c5324c9b7b6ebeb78439cf (diff)
new feature: meta tag for author info is available.
removed: parsers/DocumentName.java (MetaParser supersedes this Parser) added: parsers/MetaParser.java (it looks for meta info and updates them to PresentFile) modified: conversion/ConvertFile.java (now it initiates some of the PresentFile fields to null) parsers/Header.java (Meta field 'author' added) parsers/ParserList.java (added MetaParser, removed DocumentName) status/PresentFile.java (new field 'author') todo (update todo)
Diffstat (limited to 'conversion')
-rw-r--r--conversion/ConvertFile.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/conversion/ConvertFile.java b/conversion/ConvertFile.java
index 5065ad0..f37d009 100644
--- a/conversion/ConvertFile.java
+++ b/conversion/ConvertFile.java
@@ -41,6 +41,8 @@ public class ConvertFile {
* for use outside this method.
*/
PresentFile.file = file;
+ PresentFile.name = null;
+ PresentFile.author = null;
readFile = new ReadFile(file);
String fileContent = readFile.getContent();
if(!fileContent.equals("")) {