@ALDDataIOProvider public class ALDHashMapDataIOCmdline extends ALDStandardizedDataIOCmdline
As this provider extends ALDStandardizedDataIOCmdline
it
follows general Alida syntax conventions.
DERIVEDCLASS_CHAR, FILEIO_CHAR
Constructor and Description |
---|
ALDHashMapDataIOCmdline() |
Modifier and Type | Method and Description |
---|---|
String |
formatAsString(Object obj)
Returns a string representation of the given hash map.
|
Object |
parse(Field field,
Class<?> cl,
String valueString)
Input of hash maps is not yet supported.
|
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
parse
in class ALDStandardizedDataIOCmdline
field
- Field of object to be returnedcl
- Class of object to be returned.valueString
- Source from where to read data.ALDDataIOProviderException
- Thrown in case of failure.ALDDataIOManagerCmdline
public String formatAsString(Object obj)
formatAsString
in class ALDStandardizedDataIOCmdline
obj
- Hash map to format.parse(Field,Class,String)
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.