public class CommandLineParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
getDBits()
Gets the current number of data bits.
|
static java.lang.String |
getDstDirName()
Gets the current destination directory name.
|
static int |
getFlowMode()
Gets the current flow control mode.
|
static int |
getParityMode()
Gets the current parity mode.
|
static java.lang.String |
getPortName()
Gets the current port name.
|
static float |
getSBits()
Gets the current number of stop bits.
|
static int |
getSpeed()
Gets the current port speed.
|
static int |
getX()
Gets the current X coordinate.
|
static int |
getY()
Gets the current Y coordinate.
|
static boolean |
isMax()
Gets the current "is maximized" property value.
|
static void |
parse(java.lang.String[] args,
java.lang.Object sync,
java.lang.String logfile)
Parses the given command line and performs actions based on it.
|
public static java.lang.String getDstDirName()
public static int getDBits()
public static float getSBits()
public static int getSpeed()
public static int getFlowMode()
public static int getParityMode()
public static java.lang.String getPortName()
public static boolean isMax()
public static int getX()
public static int getY()
public static void parse(java.lang.String[] args, java.lang.Object sync, java.lang.String logfile)
args
- The command line to parse.sync
- The synchronization variable.logfile
- The name of the log file.