org.apache.poi.hsmf.datatypes
Class PropertyValue
java.lang.Object
org.apache.poi.hsmf.datatypes.PropertyValue
- Direct Known Subclasses:
- PropertyValue.LongLongPropertyValue, PropertyValue.TimePropertyValue
public class PropertyValue
- extends java.lang.Object
An instance of a MAPIProperty
inside a PropertiesChunk
.
Where the Types
type is a fixed length one, this will contain the
actual value.
Where the Types
type is a variable length one, this will contain
the length of the property, and the value will be in the associated Chunk
.
Field Summary |
protected byte[] |
data
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
data
protected byte[] data
PropertyValue
public PropertyValue(MAPIProperty property,
long flags,
byte[] data)
getProperty
public MAPIProperty getProperty()
getFlags
public long getFlags()
- Get the raw value flags.
TODO Also provide getters for the flag meanings
getValue
public java.lang.Object getValue()
setRawValue
public void setRawValue(byte[] value)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright 2013 The Apache Software Foundation or
its licensors, as applicable.