Package com.pff
Class PSTTableItem
- java.lang.Object
-
- com.pff.PSTTableItem
-
- Direct Known Subclasses:
PSTTable7CItem
,PSTTableBCItem
class PSTTableItem extends java.lang.Object
Generic table item. Provides some basic string functions
-
-
Field Summary
Fields Modifier and Type Field Description byte[]
data
private java.text.SimpleDateFormat
dateFormatter
int
entryType
int
entryValueReference
int
entryValueType
boolean
isExternalValueReference
int
itemIndex
private static java.util.SimpleTimeZone
utcTimeZone
static int
VALUE_TYPE_PT_BIN
static int
VALUE_TYPE_PT_STRING8
static int
VALUE_TYPE_PT_UNICODE
-
Constructor Summary
Constructors Constructor Description PSTTableItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLongValue()
java.lang.String
getStringValue()
java.lang.String
getStringValue(int stringType)
get a string value of the datajava.lang.String
toString()
-
-
-
Field Detail
-
VALUE_TYPE_PT_UNICODE
public static final int VALUE_TYPE_PT_UNICODE
- See Also:
- Constant Field Values
-
VALUE_TYPE_PT_STRING8
public static final int VALUE_TYPE_PT_STRING8
- See Also:
- Constant Field Values
-
VALUE_TYPE_PT_BIN
public static final int VALUE_TYPE_PT_BIN
- See Also:
- Constant Field Values
-
itemIndex
public int itemIndex
-
entryType
public int entryType
-
entryValueType
public int entryValueType
-
entryValueReference
public int entryValueReference
-
data
public byte[] data
-
isExternalValueReference
public boolean isExternalValueReference
-
dateFormatter
private java.text.SimpleDateFormat dateFormatter
-
utcTimeZone
private static java.util.SimpleTimeZone utcTimeZone
-
-
Method Detail
-
getLongValue
public long getLongValue()
-
getStringValue
public java.lang.String getStringValue()
-
getStringValue
public java.lang.String getStringValue(int stringType)
get a string value of the data- Parameters:
forceString
- if true, you won't get the hex representation of the data- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-