Package org.apache.poi.hpsf
Class CodePageString
- java.lang.Object
-
- org.apache.poi.hpsf.CodePageString
-
- Direct Known Subclasses:
IndirectPropertyName
@Internal public class CodePageString extends Object
-
-
Constructor Summary
Constructors Constructor Description CodePageString()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
setMaxRecordLength
public static void setMaxRecordLength(int length)
- Parameters:
length
- the max record length allowed for CodePageString
-
getMaxRecordLength
public static int getMaxRecordLength()
- Returns:
- the max record length allowed for CodePageString
-
read
public void read(LittleEndianByteArrayInputStream lei)
-
getJavaValue
public String getJavaValue(int codepage) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
getSize
public int getSize()
-
setJavaValue
public void setJavaValue(String string, int codepage) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
write
public int write(OutputStream out) throws IOException
- Throws:
IOException
-
-