SmartFrog 3.10.000

org.smartfrog.sfcore.common
Class ParseOptionSet

java.lang.Object
  extended by org.smartfrog.sfcore.common.ParseOptionSet

public class ParseOptionSet
extends java.lang.Object

Parses the SFSystem arguments into an option set. Options are seperated by optionFlagIndicator characters.


Field Summary
 boolean description
          Flag indicating to show the description parser phase or not.
 boolean diagnostics
          Flag indicating if diagnostics was requested.
 java.lang.String errorString
          Error string for SFParse.
 int exitCode
          ExitCode for SFParse.
 java.lang.String fileName
          File to be parsed.
 java.util.Vector filesList
          List of files to be parsed.
 boolean help
          Flag indicating the help option.
 java.lang.String helpTxt
          Help string for SFSystem.
 boolean loadDescriptionsFromFile
          Flag indicating to load description from file or not.
protected  char optionFlagIndicator
          Character indicating the start of each option.
protected  byte optionLength
          Length of each option.
 boolean quiet
          Flag indicating the quite option.
 boolean statusReport
          Flag indicating to show status parsing report or not.
 boolean statusReportHTML
          Flag indicating to show status parsing report in html formal or not.
 java.lang.String usage
          Usage string for SFParse.
 boolean verbose
          Flag indicating the verbose option.
 
Constructor Summary
ParseOptionSet(java.lang.String[] args)
          Creates an OptionSet from an array of arguments.
 
Method Summary
 java.lang.String toString()
          Return string representation of context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

optionFlagIndicator

protected char optionFlagIndicator
Character indicating the start of each option.


optionLength

protected byte optionLength
Length of each option.


usage

public java.lang.String usage
Usage string for SFParse.


helpTxt

public java.lang.String helpTxt
Help string for SFSystem.


errorString

public java.lang.String errorString
Error string for SFParse.


exitCode

public int exitCode
ExitCode for SFParse.


help

public boolean help
Flag indicating the help option.


verbose

public boolean verbose
Flag indicating the verbose option.


quiet

public boolean quiet
Flag indicating the quite option.


description

public boolean description
Flag indicating to show the description parser phase or not.


loadDescriptionsFromFile

public boolean loadDescriptionsFromFile
Flag indicating to load description from file or not.


fileName

public java.lang.String fileName
File to be parsed.


filesList

public java.util.Vector filesList
List of files to be parsed.


statusReport

public boolean statusReport
Flag indicating to show status parsing report or not.


statusReportHTML

public boolean statusReportHTML
Flag indicating to show status parsing report in html formal or not.


diagnostics

public boolean diagnostics
Flag indicating if diagnostics was requested.

Constructor Detail

ParseOptionSet

public ParseOptionSet(java.lang.String[] args)
Creates an OptionSet from an array of arguments.

Parameters:
args - arguments to create from
Method Detail

toString

public java.lang.String toString()
Return string representation of context.

Overrides:
toString in class java.lang.Object
Returns:
string representation

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP