@ALDDataIOProvider public class ALDEnumDataIOCmdline extends ALDStandardizedDataIOCmdline
ALDStandardizedDataIOCmdline
it
implements the Alida syntax conventions.DERIVEDCLASS_CHAR, FILEIO_CHAR
Constructor and Description |
---|
ALDEnumDataIOCmdline() |
Modifier and Type | Method and Description |
---|---|
String |
formatAsString(Object obj)
Returns the string representations of this object
This method is assumed to directly format the
obj into the string return and make no
prior interpretation regarding a file to be used. |
Object |
parse(Field field,
Class<?> cl,
String valueString)
Returns an object instantiated from valueString.
|
Collection<Class<?>> |
providedClasses()
Interface method to announce all classes handled by this provider.
|
formatAsString, readData, requiresNewlines, writeData
public Collection<Class<?>> providedClasses()
ALDDataIO
public Object parse(Field field, Class<?> cl, String valueString) throws ALDDataIOProviderException
ALDStandardizedDataIOCmdline
ALDDataIOManagerCmdline.readData(Field,Class,String)
.
This method is assumed to directly parse the valueString
and make no
prior interpretation regarding a file to use or derived class to return.parse
in class ALDStandardizedDataIOCmdline
field
- Field of object to be returnedcl
- Class of object to be returned.valueString
- Source from where to read data (e.g. a filename).ALDDataIOProviderException
ALDDataIOManagerCmdline
public String formatAsString(Object obj)
ALDStandardizedDataIOCmdline
obj
into the string return and make no
prior interpretation regarding a file to be used.formatAsString
in class ALDStandardizedDataIOCmdline
obj
- object to formatCopyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.