org.caida.otter
Class GetOpts

java.lang.Object
  |
  +--org.caida.otter.GetOpts

public class GetOpts
extends java.lang.Object

GetOpts class parses the command line arguments to PlotPaths. It will set the proper command line options which can then be accesed by its' proper accessor method. GetOpts also contains a private status varialbe which will be set to true(default) if the parsing of the command line was successful and will be set to false if the command line parsing failed in some way. A description of the command line options can be found in README.


Constructor Summary
GetOpts(java.lang.String[] args)
          Constructor for GetOpts.
 
Method Summary
 java.lang.String get_COLUMN_ATTRIBUTE()
          Accessor function for the private data member COLUMN_ATTRIBUTE.
 int get_COLUMN_WIDTH()
          Accessor function for the private data member COLUMN_WIDTH.
 boolean get_DISPLAY_LABELS()
          Accessor function for the private data member DISPLAY_LABELS.
 boolean get_IGNORE_INCOMPLETE_PATHS()
          Accessor function for the private data member IGNORE_INCOMPLETE_PATHS.
 boolean get_INFO_FLAG()
          Accessor function for the private data member INFO_FLAG.
 java.lang.String get_INPUT_FILE()
          Accessor function for the private data member INPUT_FILE.
 int get_LABEL_SPACING()
          Accessor function for the private data member LABEL_SPACING.
 int get_LABEL_TIERS()
          Accessor function for the private data member LABEL_TIERS.
 java.lang.String get_LIBSEA_OUTFILE()
          Accessor function for the private data member LIBSEA_OUTFILE.
 boolean get_LIST_ATTRIBUTES()
          Accessor function for the private data member LIST_ATTRIBUTES.
 boolean get_LIST_SOURCES()
          Accessor function for the private data member LIST_SOURCES.
 int get_MAX_CHILD_SEARCH_DEPTH()
          Accessor function for the private data member MAX_CHILD_SEARCH_DEPTH.
 float get_MIN_PERCENT_USAGE()
          Accessor function for the private data member MIN_PERCENT_USAGE.
 java.lang.String get_NODE_DATA_FILE()
          Accessor function for the private data member NODE_DATA_FILE.
 int get_NODE_SPACING()
          Accessor function for the private data member NODE_SPACING.
 int get_PATH_WEIGHT_BIN_COUNT()
          Accessor function for the private data member PATH_WEIGHT_BIN_COUNT.
 java.util.Vector get_REMOVE_COL_NAMES()
          Accessor function for the private data member REMOVE_COL_NAMES.
 boolean get_REMOVE_COLS_SPECIFIED()
          Accessor function for the private data member REMOVE_COLS_SPECIFIED.
 int get_ROW_SPACING()
          Accessor function for the private data member ROW_SPACING.
 int get_SCREEN_X()
          Accessor function for the private data member SCREEN_X.
 int get_SCREEN_Y()
          Accessor function for the private data member SCREEN_Y.
 java.util.Vector get_SOURCES()
          Accessor function for the private data member SOURCE.
 boolean get_Status()
          Accessor function for the private data member Status.
 java.lang.String get_UNKNOWN_NODE_NAME()
          Accessor function for the private data member UNKNOWN_NODE_NAME.
 boolean get_USE_ALL_FORWARD_PATHS()
          Accessor function for the private data member USE_ALL_FORWARD_PATHS.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetOpts

public GetOpts(java.lang.String[] args)
Constructor for GetOpts. Sets the Status variable for parsing success or failure after calling checkArgs with args.
Parameters:
args - The array of command line arguments.
Method Detail

get_USE_ALL_FORWARD_PATHS

public boolean get_USE_ALL_FORWARD_PATHS()
Accessor function for the private data member USE_ALL_FORWARD_PATHS.

get_DISPLAY_LABELS

public boolean get_DISPLAY_LABELS()
Accessor function for the private data member DISPLAY_LABELS.

get_LIBSEA_OUTFILE

public java.lang.String get_LIBSEA_OUTFILE()
Accessor function for the private data member LIBSEA_OUTFILE.

get_INPUT_FILE

public java.lang.String get_INPUT_FILE()
Accessor function for the private data member INPUT_FILE.

get_NODE_DATA_FILE

public java.lang.String get_NODE_DATA_FILE()
Accessor function for the private data member NODE_DATA_FILE.

get_SCREEN_X

public int get_SCREEN_X()
Accessor function for the private data member SCREEN_X.

get_SCREEN_Y

public int get_SCREEN_Y()
Accessor function for the private data member SCREEN_Y.

get_COLUMN_WIDTH

public int get_COLUMN_WIDTH()
Accessor function for the private data member COLUMN_WIDTH.

get_ROW_SPACING

public int get_ROW_SPACING()
Accessor function for the private data member ROW_SPACING.

get_NODE_SPACING

public int get_NODE_SPACING()
Accessor function for the private data member NODE_SPACING.

get_MAX_CHILD_SEARCH_DEPTH

public int get_MAX_CHILD_SEARCH_DEPTH()
Accessor function for the private data member MAX_CHILD_SEARCH_DEPTH.

get_LABEL_TIERS

public int get_LABEL_TIERS()
Accessor function for the private data member LABEL_TIERS.

get_LABEL_SPACING

public int get_LABEL_SPACING()
Accessor function for the private data member LABEL_SPACING.

get_MIN_PERCENT_USAGE

public float get_MIN_PERCENT_USAGE()
Accessor function for the private data member MIN_PERCENT_USAGE.

get_IGNORE_INCOMPLETE_PATHS

public boolean get_IGNORE_INCOMPLETE_PATHS()
Accessor function for the private data member IGNORE_INCOMPLETE_PATHS.

get_REMOVE_COL_NAMES

public java.util.Vector get_REMOVE_COL_NAMES()
Accessor function for the private data member REMOVE_COL_NAMES.

get_REMOVE_COLS_SPECIFIED

public boolean get_REMOVE_COLS_SPECIFIED()
Accessor function for the private data member REMOVE_COLS_SPECIFIED.

get_PATH_WEIGHT_BIN_COUNT

public int get_PATH_WEIGHT_BIN_COUNT()
Accessor function for the private data member PATH_WEIGHT_BIN_COUNT.

get_UNKNOWN_NODE_NAME

public java.lang.String get_UNKNOWN_NODE_NAME()
Accessor function for the private data member UNKNOWN_NODE_NAME.

get_COLUMN_ATTRIBUTE

public java.lang.String get_COLUMN_ATTRIBUTE()
Accessor function for the private data member COLUMN_ATTRIBUTE.

get_Status

public boolean get_Status()
Accessor function for the private data member Status.

get_INFO_FLAG

public boolean get_INFO_FLAG()
Accessor function for the private data member INFO_FLAG.

get_LIST_ATTRIBUTES

public boolean get_LIST_ATTRIBUTES()
Accessor function for the private data member LIST_ATTRIBUTES.

get_LIST_SOURCES

public boolean get_LIST_SOURCES()
Accessor function for the private data member LIST_SOURCES.

get_SOURCES

public java.util.Vector get_SOURCES()
Accessor function for the private data member SOURCE.