@ALDDataIOProvider public class ALDNativeDataIOCmdline extends ALDStandardizedDataIOCmdline
ALDStandardizedDataIOCmdline it
implements the Alida syntax conventions.DERIVEDCLASS_CHAR, FILEIO_CHAR| Constructor and Description |
|---|
ALDNativeDataIOCmdline() |
| 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)
Method to parse native data from a string.
|
Collection<Class<?>> |
providedClasses()
Interface method to announce all classes handled by this provider.
|
formatAsString, readData, writeDatapublic Collection<Class<?>> providedClasses()
ALDDataIOpublic Object parse(Field field, Class<?> cl, String valueString) throws ALDDataIOProviderException
Note that the field argument is ignored here.
The clpassed to the method should contain the
class which is to be returned. If it is null, null is
returned. Likewise if something else goes wrong, the return value is null.
Note that 1D arrays have to be encoded in one of the following ways, i.e. with or without enclosing brackets:
2D arrays have to be encoded as follows:
parse in class ALDStandardizedDataIOCmdlinefield - Field of object to be returnedcl - Class of object to be returned.valueString - Source from where to read data (e.g. a filename).ALDDataIOProviderExceptionALDDataIOManagerCmdlinepublic String formatAsString(Object obj)
ALDStandardizedDataIOCmdlineobj into the string return and make no
prior interpretation regarding a file to be used.formatAsString in class ALDStandardizedDataIOCmdlineobj - object to formatCopyright © 2010–2015 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.