databionics.modules
Class InputFileParameter
java.lang.Object
databionics.modules.Parameter
databionics.modules.AbstractStringParameter
databionics.modules.AbstractFileParameter
databionics.modules.InputFileParameter
public class InputFileParameter
- extends AbstractFileParameter
FileParameter for input files.
Field Summary |
protected static org.apache.log4j.Logger |
log
log4j logging |
Method Summary |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
void |
setValue(java.lang.String var)
Set the value. |
java.lang.String |
toXml()
XML representation |
static InputFileParameter |
valueOf(org.w3c.dom.Element el)
Create a FileParameter from an XML tag |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
- log4j logging
InputFileParameter
public InputFileParameter()
setValue
public void setValue(java.lang.String var)
- Set the value. If a file named var exists, this method checks, if it has
the right extension and sets value as the filename. If no file named var
exists, this method attaches the needed extension and checks if a file
with the new name exists.
- Overrides:
setValue
in class AbstractStringParameter
- Parameters:
var
- the path of the file
clone
public java.lang.Object clone()
- Creates and returns a copy of this object.
- Specified by:
clone
in class Parameter
valueOf
public static InputFileParameter valueOf(org.w3c.dom.Element el)
- Create a FileParameter from an XML tag
toXml
public java.lang.String toXml()
- XML representation
- Specified by:
toXml
in class Parameter
Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.