Package com.silabs.na.pcap
Class Main
- java.lang.Object
-
- com.silabs.na.pcap.Main
-
public class Main extends java.lang.Object
Main class for the CLI interface. The only purpose of this class is to provide an interface to a command line usage of a jar file. There is no other useful API here.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dumpFile(java.lang.String path)
Logic that gets executed on a file when the "dump" command is used.static void
main(java.lang.String[] args)
Execution entry point.
-
-
-
Method Detail
-
dumpFile
public void dumpFile(java.lang.String path) throws java.io.IOException
Logic that gets executed on a file when the "dump" command is used.- Parameters:
path
- String path of the file to open.- Throws:
java.io.IOException
- when underlying IO operation fails.
-
main
public static void main(java.lang.String[] args)
Execution entry point.- Parameters:
args
- Command line arguments.
-
-