diff --git a/.classpath b/.classpath index a6c15a2..c0b3816 100644 --- a/.classpath +++ b/.classpath @@ -2,6 +2,6 @@ - + diff --git a/src/MyArchive.java b/src/MyArchive.java index 9990007..13e5784 100644 --- a/src/MyArchive.java +++ b/src/MyArchive.java @@ -112,6 +112,17 @@ public HashMap getEntryHash() throws Exception { return entryData; } + /* + * This is the method that we're going to have to use for things to work + * as I originally intended. Obviously we can't recurse into the sub- + * archives if we don't unroll things first. + * + * Of course we _could_ set an option to minimize space used, if only a + * listing of all recursed contents are required; it could be implemented + * by selectively unrolling only internal archives, leaving non-archives + * alone. Then ad infinitum, of course, with the recursion. + * + */ public void unroll() throws Exception { ArchiveEntry entry; File currentFile, parentFile; diff --git a/src/Settings.java b/src/Settings.java new file mode 100644 index 0000000..83114c1 --- /dev/null +++ b/src/Settings.java @@ -0,0 +1,17 @@ +/** + * + */ + +/** + * @author sprite + * + */ +public class Settings { + //here's what we'll be implementing right away + public Boolean verbose; + public Boolean minimizeSpaceUsage; + + //here's schitt to work with in the future + public String workingDirectory; + +}