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:
tujupien

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 the data in specified url.
 UseCaseCollection read(java.net.URL url)
          Reads usecase collection from URL.
 
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

Reads usecase collection from URL.

Specified by:
read in interface InputInterface
Parameters:
url - URL where input is loaded from
Returns:
Steps read from the input
Throws:
java.lang.Exception
See Also:
InputInterface.read(java.net.URL)

canRead

public boolean canRead(java.net.URL url)
Description copied from interface: InputInterface

Test if this input can read the data in specified url.

Specified by:
canRead in interface InputInterface
Parameters:
url - The url.
Returns:
true If input can read the contents of the url.
See Also:
InputInterface.canRead(java.net.URL)