@Internal public class CodePageString extends Object
| Constructor and Description |
|---|
CodePageString() |
| Modifier and Type | Method and Description |
|---|---|
String |
getJavaValue(int codepage) |
static int |
getMaxRecordLength() |
int |
getSize() |
void |
read(LittleEndianByteArrayInputStream lei) |
void |
setJavaValue(String string,
int codepage) |
static void |
setMaxRecordLength(int length) |
int |
write(OutputStream out) |
public static void setMaxRecordLength(int length)
length - the max record length allowed for CodePageStringpublic static int getMaxRecordLength()
public void read(LittleEndianByteArrayInputStream lei)
public String getJavaValue(int codepage) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic int getSize()
public void setJavaValue(String string, int codepage) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic int write(OutputStream out) throws IOException
IOException