Package com.googlecode.dex2jar.tools
Class BaseCmd
java.lang.Object
com.googlecode.dex2jar.tools.BaseCmd
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static classstatic @interfaceprotected static classstatic @interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String, BaseCmd.Option> protected String[]protected String[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectstatic voidstatic FileSystemprotected abstract voidvoidstatic StringgetBaseName(String fn) static StringgetBaseName(Path fn) protected Stringprotected voidinitOptionFromClass(Class<?> clz) protected voidstatic voidstatic FileSystemprotected voidparseSetArgs(String... args) protected voidusage()static voidwalkFileTreeX(Path base, BaseCmd.FileVisitorX fv) static voidwalkJarOrDir(Path in, BaseCmd.FileVisitorX fv)
-
Field Details
-
optMap
-
remainingArgs
-
originalArgs
-
-
Constructor Details
-
BaseCmd
public BaseCmd() -
BaseCmd
-
BaseCmd
-
-
Method Details
-
getBaseName
-
getBaseName
-
walkFileTreeX
- Throws:
IOException
-
walkJarOrDir
- Throws:
IOException
-
createParentDirectories
- Throws:
IOException
-
createZip
- Throws:
IOException
-
openZip
- Throws:
IOException
-
convert
-
doCommandLine
- Throws:
Exception
-
doMain
-
getVersionString
-
initOptionFromClass
-
initOptions
protected void initOptions() -
main
- Throws:
Exception
-
parseSetArgs
-
usage
protected void usage()
-