Package org.cyclopsgroup.caff.format
Class AbstractSyntaxSupport<T>
java.lang.Object
org.cyclopsgroup.caff.format.AbstractSyntaxSupport<T>
- Type Parameters:
T- Type of bean to convert from/to
- Direct Known Subclasses:
AbstractCSVTestCase,AbstractFixLengthTestCase
A base class that requries children to provide syntax conversion logic
- Author:
- Jiaqi Guo
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractSyntaxSupport
public AbstractSyntaxSupport()
-
-
Method Details
-
fromString
Converter string to object- Parameters:
string- String form of object- Returns:
- Object result
- Throws:
IOException- Allows IOExceptoin
-
toString
Convert object to string- Parameters:
bean- Object to convert from- Returns:
- String form of object
- Throws:
IOException- Allows IOException
-