public abstract class EcsvDecoder<T> extends Object
| Modifier | Constructor and Description | 
|---|---|
protected  | 
EcsvDecoder(Class<T> clazz,
           int[] stilShape,
           String msg)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static EcsvDecoder<?> | 
createDecoder(String datatype,
             String subtype)
Returns an instance of this class given a datatype
 and optional subtype. 
 | 
abstract T | 
decode(String txt)
Attempts to decode the supplied string to a value of this decoder's
 type. 
 | 
Class<T> | 
getContentClass()
Returns the class to which input values will be decoded. 
 | 
int[] | 
getShape()
Returns the shape of the object that is decoded,
 in STIL format. 
 | 
String | 
getWarning()
Returns any warning message concerning the behaviour of this decoder. 
 | 
public abstract T decode(String txt)
txt - non-blank string to decodeNumberFormatException - in case of unrecognised stringpublic Class<T> getContentClass()
public int[] getShape()
public String getWarning()
public static EcsvDecoder<?> createDecoder(String datatype, String subtype)
datatype - case-sensitive datatype namesubtype - subtype specifier string, or nullCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.