summaryrefslogtreecommitdiffstats
path: root/status
diff options
context:
space:
mode:
authorrsiddharth <rsiddharth@ninthfloor.org>2012-11-10 11:29:31 +0530
committerrsiddharth <rsiddharth@ninthfloor.org>2012-11-10 11:29:31 +0530
commitceed73fa063ffb3b72d21c8a8800122c115acc58 (patch)
treee6519430ea904e1e7842b17e1ad177a17ef5bfb4 /status
parent00a25a7ef03e25864019ef2e4f3fe5813ec292e9 (diff)
marked-up files should have a '.scruffy' extension from now on. This
commit is an un-stable commit. It has bugs. removed: io/PresentFile.java (moved to status/PresentFile.java) added: conversion/CreateHtmlFile.java (creates a corresponding '.html' file for a given '.scruffy' marked-up file) (needs some fine-tuning) status/PresentFile.java (see above) modified: conversion/ConvertFile.java (CreatHtmlFile object takes care of producing a corresponding html 'File') conversion/FileSieve.java (regex modified to reflect the '.scruffy' extension) index/IndexCreator.java (edits to reflect the '.scruffy' extension) parsers/BackButton.java (edit to reflect the '.scruffy' extension) parsers/DocumentName.java (edit to reflect the package change for PresentFile class) parsers/Header.java (edit to reflect the package change for PresentFile class) todo (updated todo)
Diffstat (limited to 'status')
-rw-r--r--status/PresentFile.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/status/PresentFile.java b/status/PresentFile.java
new file mode 100644
index 0000000..303d4bc
--- /dev/null
+++ b/status/PresentFile.java
@@ -0,0 +1,37 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
+package scruf.status;
+
+import java.io.*;
+
+/**
+ * Contains information about the present file that
+ * is being parsed by the parsers.
+ *
+ */
+public class PresentFile {
+ public static String name;
+ public static File file;
+}
+
+
+