public abstract class ColumnWriterWithCharEncoding extends java.lang.Object implements ColumnWriter, ColumnTranslator
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
ColumnWriterWithCharEncoding() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCharacterEncoding() |
void |
setCharacterEncoding(java.lang.String charEnc)
Set the character encoding used to convert the column into a String.
|
protected java.io.Reader |
toReader(java.io.InputStream in) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write, write
translate, translate
protected java.io.Reader toReader(java.io.InputStream in) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public java.lang.String getCharacterEncoding()
public void setCharacterEncoding(java.lang.String charEnc)
charEnc
- the character encoding, if null then the platform encoding is assumed.