public abstract class TypeConverterBase extends Object implements TypeConverter
| Modifier and Type | Field and Description |
|---|---|
protected Charset |
charset |
protected TypeConverterConfig |
config |
protected String |
defaultValue |
protected String |
format |
protected byte |
nullFillerByte |
protected byte |
paddingByte |
protected boolean |
rightPadding |
protected CopyBookFieldSigningType |
signingType |
| Constructor and Description |
|---|
TypeConverterBase() |
| Modifier and Type | Method and Description |
|---|---|
TypeConverter |
copy(Class<?> type) |
protected String |
getString(byte[] bytes,
int offset,
int length,
boolean removePadding,
int minLength) |
void |
initialize(TypeConverterConfig config) |
protected byte[] |
padBytes(byte[] bytes,
int length) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfrom, to, validateprotected Charset charset
protected CopyBookFieldSigningType signingType
protected boolean rightPadding
protected byte paddingByte
protected byte nullFillerByte
protected String defaultValue
protected String format
protected TypeConverterConfig config
public void initialize(TypeConverterConfig config)
initialize in interface TypeConverterpublic TypeConverter copy(Class<?> type) throws IllegalAccessException, InstantiationException
copy in interface TypeConverterIllegalAccessExceptionInstantiationExceptionprotected byte[] padBytes(byte[] bytes,
int length)
protected String getString(byte[] bytes, int offset, int length, boolean removePadding, int minLength)
Copyright © 2016. All rights reserved.