ucot.parser
Class SimpleInputParser

java.lang.Object
  extended by ucot.parser.SimpleInputParser
All Implemented Interfaces:
ParserInterface

public class SimpleInputParser
extends java.lang.Object
implements ParserInterface


Field Summary
private  java.util.Properties options
           
 
Constructor Summary
SimpleInputParser()
           
 
Method Summary
 java.lang.String getName()
          Returns adapter's name
 java.util.Properties getOptions()
          Returns adapter's options
 ParsedData parse(UseCase usecase)
          Parses given usecase and returns parsed data as a ParsedData object.
 void setOptions(java.util.Properties options)
          Sets options for the adapter
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

options

private java.util.Properties options
Constructor Detail

SimpleInputParser

public SimpleInputParser()
Method Detail

parse

public ParsedData parse(UseCase usecase)
                 throws java.lang.Exception
Description copied from interface: ParserInterface
Parses given usecase and returns parsed data as a ParsedData object.

Specified by:
parse in interface ParserInterface
Returns:
parsed data as a ParsedData object.
Throws:
java.lang.Exception

getName

public java.lang.String getName()
Description copied from interface: ParserInterface
Returns adapter's name

Specified by:
getName in interface ParserInterface
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setOptions

public void setOptions(java.util.Properties options)
Description copied from interface: ParserInterface
Sets options for the adapter

Specified by:
setOptions in interface ParserInterface
Parameters:
options - options for the adapter

getOptions

public java.util.Properties getOptions()
Description copied from interface: ParserInterface
Returns adapter's options

Specified by:
getOptions in interface ParserInterface
Returns:
adapter's options