Package org.apache.poi.hpsf
Class CodePageString
- java.lang.Object
-
- org.apache.poi.hpsf.CodePageString
-
- Direct Known Subclasses:
IndirectPropertyName
@Internal public class CodePageString extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CodePageString()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
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 java.lang.String getJavaValue(int codepage) throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
-
getSize
public int getSize()
-
setJavaValue
public void setJavaValue(java.lang.String string, int codepage) throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
-
write
public int write(java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
-