-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from dgets/develop
Develop
- Loading branch information
Showing
5 changed files
with
97 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
public class Debugging { | ||
//debugging flags | ||
public static final boolean LISTER = true; | ||
public static final boolean FLAG_INTERNAL = true; | ||
public static final boolean LISTER = false; | ||
public static final boolean FLAG_INTERNAL = false; | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,11 @@ | ||
import java.util.ArrayList; | ||
import java.util.HashMap; | ||
import java.util.List; | ||
|
||
public class Util { | ||
public static final String[] flagExtensions = { ".tar", ".tar.gz", ".tgz", ".tar.bz2", | ||
".tar.xz", ".zip", ".arj", ".tar.Z" }; | ||
/** | ||
* Flag archives in the directory listing (by extension, not signature) in order to mark | ||
* them for later unrolling or other processing | ||
*/ | ||
/*public static HashMap<String, Boolean> flagArchives(HashMap<String, Boolean> directory) { | ||
List<String> internalArchives = new ArrayList<String>(); | ||
Boolean hit = false; | ||
for (String entry : directory) { | ||
for (String ext : flagExtensions) { | ||
if (entry.toLowerCase().endsWith(ext)) { | ||
hit = true; | ||
break; | ||
} | ||
} | ||
if (hit) { | ||
directory.put(entry, true); | ||
} | ||
} | ||
return internalArchives; | ||
}*/ | ||
".tar.xz", ".zip", ".arj", ".tar.Z" }; | ||
public static final String[] archiveExtensions = { ".tar", ".zip", ".arj" }; | ||
public static final String[] compressExtensions = { ".gz", ".tgz", ".bz2", ".xz", ".zip", | ||
".arj", ".Z" }; | ||
|
||
public static Boolean runningOnDoze() { | ||
return System.getProperty("os.name").startsWith("Windows"); | ||
} | ||
|
||
/** | ||
* Unroll archives (including recursive archival) | ||
*/ | ||
|
||
} |