|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ice.tar.tar
public class tar
The tar class implements a weak reproduction of the traditional UNIX tar command. It currently supports creating, listing, and extracting from archives. It also supports GZIP-ed archives with the '-z' flag. See the usage (-? or --usage) for option details.
usage: com.ice.tar.tar has three basic modes: com.ice.tar -c [options] archive files... Create new archive containing files. com.ice.tar -t [options] archive List contents of tar archive com.ice.tar -x [options] archive Extract contents of tar archive. options: -f file, use 'file' as the tar archive -v, verbose mode -z, use GZIP compression -D, debug archive and buffer operation -b blks, set blocking size to (blks * 512) bytes -o, write a V7 format archive rather than ANSI -u name, set user name to 'name' -U id, set user id to 'id' -g name, set group name to 'name' -G id, set group id to 'id' -?, print usage information --trans, translate 'text/*' files --mime file, use this mime types file and translate --usage, print usage information --version, print version information The translation options will translate from local line endings to UNIX line endings of '\\n' when writing tar archives, and from UNIX line endings into local line endings when extracting archives. Written by Tim Endres This software has been placed into the public domain.
TarArchive
Constructor Summary | |
---|---|
tar()
Establishes the default userName with the 'user.name' property. |
Method Summary | |
---|---|
void |
instanceMain(java.lang.String[] argv)
This is the "real" main. |
static void |
main(java.lang.String[] argv)
The main entry point of the tar class. |
void |
showTarProgressMessage(java.lang.String msg)
Display progress information by printing it to System.out. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public tar()
Method Detail |
---|
public static void main(java.lang.String[] argv)
public void instanceMain(java.lang.String[] argv)
public void showTarProgressMessage(java.lang.String msg)
showTarProgressMessage
in interface TarProgressDisplay
msg
- The message to display.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |