summaryrefslogtreecommitdiffstats
path: root/status
diff options
context:
space:
mode:
authorrsiddharth <rsiddharth@ninthfloor.org>2012-10-31 23:32:29 +0530
committerrsiddharth <rsiddharth@ninthfloor.org>2012-10-31 23:32:29 +0530
commite1804b3d0ef3be3db8be169043c6eae8a98bbc86 (patch)
tree028ceccfd1f006a051e789c081e539b234eaae61 /status
parent1f61844084d9e9383b3be04ff8f60c11eb628075 (diff)
added:
status/ status/DirectoryInfo.java (record the directory 'level' at which scruf is parsing with respect to 'root' directory.) modified: Scruf.java (added a line to start the directory level count at zero) conversion/ConvertDirectory.java (DirectoryInfo.level used to take count of directory 'leve') conversion/ConvertFile.java (lines related to 'footer' things were removed) io/PresentFile.java ( 'footer' & 'backButton' field removed) parsers/BackButton.java (back button placement happens in the parse method itself, instead of doing it in Header.java) (back button is not placed, if the present directory is root directory) parsers/Footer.java (footer placement happens in the parse method itself, instead of doing it in Header.java) parsers/Header.java (back button placement & footer placement removed.)
Diffstat (limited to 'status')
-rw-r--r--status/DirectoryInfo.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/status/DirectoryInfo.java b/status/DirectoryInfo.java
new file mode 100644
index 0000000..eb65de8
--- /dev/null
+++ b/status/DirectoryInfo.java
@@ -0,0 +1,10 @@
+package scruf.status;
+
+public class DirectoryInfo {
+ /**
+ * This variable stores the 'level' at which
+ * scruf is parsing the files with respect to
+ * root.
+ */
+ public static int level;
+} \ No newline at end of file