com.voytechs.tools
Class SlyCopy

java.lang.Object
  extended by com.voytechs.tools.SlyCopy

public final class SlyCopy
extends java.lang.Object

Tool class that copies packet datta between various capture format files.
You can copy from any format to any format while doing filterring in between. When multiple input files are specified they are concatenated into the output file. Input files do not have to be of the same format as any other input or output file.
Syntax for class usage is SHELL command line based where all parameters are passed into the Main method.
The following command line options are supported:
SlyCopy [-fh]
-f Follows by filter expression. Can use multiple -f on the cmd.


Constructor Summary
SlyCopy()
           
 
Method Summary
static void exit(int code)
          Exit with a no message.
static void exit(int code, java.lang.String message)
          Exit with a message.
static void main(java.lang.String[] args)
          Main method to envoke SlyCopy
static void multiCopy()
          Main copy method.
static java.lang.String toStringStatic()
          Same thing as toString() method, but static version to output out of this mainly static object.
static void usage()
          Send usage to standard output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlyCopy

public SlyCopy()
Method Detail

usage

public static void usage()
Send usage to standard output.


exit

public static void exit(int code)
Exit with a no message.


exit

public static void exit(int code,
                        java.lang.String message)
Exit with a message.


toStringStatic

public static java.lang.String toStringStatic()
Same thing as toString() method, but static version to output out of this mainly static object.


multiCopy

public static void multiCopy()
Main copy method. Method copies all of the inputFiles into outputFile.


main

public static void main(java.lang.String[] args)
Main method to envoke SlyCopy

Parameters:
args - command line arguments. In the form: SlyCopy []