|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.config.Bean org.beanio.config.TypeHandlerConfig
public class TypeHandlerConfig
Stores configuration settings for a custom type handler. Type handlers are used to convert field text to values and back.
TypeHandler
Constructor Summary | |
---|---|
TypeHandlerConfig()
|
Method Summary | |
---|---|
String |
getFormat()
Returns the stream format to register this type handler for, or null if the type handler is used for all formats. |
String |
getName()
Returns the name of the type handler. |
String |
getType()
Returns the class name to register this type handler under. |
void |
setFormat(String format)
Sets the stream format to register this type handler for. |
void |
setName(String name)
Sets the name of the type handler. |
void |
setType(String type)
Sets the class name to register this type handler under. |
Methods inherited from class org.beanio.config.Bean |
---|
getClassName, getProperties, setClassName, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeHandlerConfig()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- the type handler namepublic String getType()
public void setType(String type)
type
- the class name to register this type handlerpublic String getFormat()
public void setFormat(String format)
format
- the stream format (xml, csv, delimited, or fixedlength)
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |