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 StringgetJavaValue(int codepage)static intgetMaxRecordLength()intgetSize()voidread(LittleEndianByteArrayInputStream lei)voidsetJavaValue(String string, int codepage)static voidsetMaxRecordLength(int length)intwrite(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
-
-