org.enhydra.xml.xmlc.commands.options
Class OptionFileParser

java.lang.Object
  |
  +--org.enhydra.xml.xmlc.commands.options.OptionFileParser

class OptionFileParser
extends Object

Parse an XMLC options file. This creates a vector of options and arguments. It does no other processing on options.


Constructor Summary
OptionFileParser(InputSource inputSource)
          Construct, parsing contents of file.
OptionFileParser(Reader reader)
          Construct, parsing contents of file.
 
Method Summary
 String[][] getOptions()
          Get the options that were parsed.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionFileParser

public OptionFileParser(Reader reader)
                 throws XMLCException,
                        IOException
Construct, parsing contents of file.

OptionFileParser

public OptionFileParser(InputSource inputSource)
                 throws XMLCException
Construct, parsing contents of file.
Method Detail

getOptions

public String[][] getOptions()
Get the options that were parsed.
Returns:
An array of string arrays, each representing an option and its arguments.


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.