public class Main
extends java.lang.Object
| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Allows testing on the command lnie
|
static void |
printHelp()
Prints usage information.
|
static void |
processFile(java.lang.String cipherMode,
char[] password,
java.io.File sourceFile,
java.io.File targetFile)
Decrypt/encrypt a single file
|
static void |
processFiles(java.lang.String[] args)
Decrypt/encrypt a list of files
|
static void |
processString(java.lang.String[] args)
Decrypt/encrypt a string
|
public static void main(java.lang.String[] args)
args - the command line parameterspublic static void printHelp()
public static void processFiles(java.lang.String[] args)
throws java.lang.Exception
args - the command linejava.lang.Exception - the operation failedpublic static void processFile(java.lang.String cipherMode,
char[] password,
java.io.File sourceFile,
java.io.File targetFile)
throws java.lang.Exception
cipherMode - the modepassword - the passworssourceFile - the file to processtargetFile - the targetf filejava.lang.Exception - the operation failedpublic static void processString(java.lang.String[] args)
throws java.lang.Exception
args - the command linejava.lang.Exception - the operation failedCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.