ucot.input
Class DummyInput

java.lang.Object
  extended by ucot.ModuleProperties
      extended by ucot.input.DummyInput
All Implemented Interfaces:
InputInterface, ModulePropertyInterface

public class DummyInput
extends ModuleProperties
implements InputInterface

DummyInput which does absolutely nothing but helps avoiding null values in input variables.

Author:
UCOT

Field Summary
 
Fields inherited from class ucot.ModuleProperties
properties, propertiesURL
 
Constructor Summary
DummyInput()
           
 
Method Summary
 boolean canRead(java.net.URL url)
          Test if this input can read file specified in url.
 UseCaseCollection read(java.net.URL url)
          Parses given usecase.
 
Methods inherited from class ucot.ModuleProperties
applyProperties, getProperties, loadDefaultProperties, loadProperties, saveProperties, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ucot.input.InputInterface
toString
 
Methods inherited from interface ucot.ModulePropertyInterface
applyProperties, getProperties, loadDefaultProperties, loadProperties, saveProperties, setProperties
 

Constructor Detail

DummyInput

public DummyInput()
Method Detail

read

public UseCaseCollection read(java.net.URL url)
                       throws java.lang.Exception
Description copied from interface: InputInterface
Parses given usecase. Stores Parsed data to given ParsedData object.

Specified by:
read in interface InputInterface
Parameters:
url - Url where input is loaded from
Returns:
Steps read from the input
Throws:
java.lang.Exception

canRead

public boolean canRead(java.net.URL url)
Description copied from interface: InputInterface
Test if this input can read file specified in url.

Specified by:
canRead in interface InputInterface
Parameters:
url - url of the file to try
Returns:
true if input can read the file