|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.persistence.convertor.AbstractTypeConvertor
org.castor.cpa.persistence.convertor.AbstractLobTypeConvertor
public abstract class AbstractLobTypeConvertor
Abstract base class to convert from one type to another using a large object buffer whose size can be configured through properties file. The convertors do not have any parameters.
| Constructor Summary | |
|---|---|
AbstractLobTypeConvertor(Class<?> fromType,
Class<?> toType)
Construct a Converter between given fromType an toType. |
|
| Method Summary | |
|---|---|
void |
configure(AbstractProperties properties)
Configure the converter with given configuration. |
protected int |
getLobBufferSize()
Get LOB buffer size. |
void |
parameterize(String parameter)
Initialize the converter with the given parameter. |
| Methods inherited from class org.castor.cpa.persistence.convertor.AbstractTypeConvertor |
|---|
clone, fromType, toString, toType |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.castor.cpa.persistence.convertor.TypeConvertor |
|---|
convert |
| Constructor Detail |
|---|
public AbstractLobTypeConvertor(Class<?> fromType,
Class<?> toType)
fromType - The type being converted from.toType - The type being converted to.| Method Detail |
|---|
public final void configure(AbstractProperties properties)
properties - Properties to use.public final void parameterize(String parameter)
null which both should lead to
the default behaviour of the converter.
parameter - The parameter for the convertor (null if is not specified).protected final int getLobBufferSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||