@Internal public class CodePageString extends java.lang.Object
Constructor and Description |
---|
CodePageString() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJavaValue(int codepage) |
static int |
getMaxRecordLength() |
int |
getSize() |
void |
read(LittleEndianByteArrayInputStream lei) |
void |
setJavaValue(java.lang.String string,
int codepage) |
static void |
setMaxRecordLength(int length) |
int |
write(java.io.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 java.lang.String getJavaValue(int codepage) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public int getSize()
public void setJavaValue(java.lang.String string, int codepage) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public int write(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.