public class PropertyValue
extends java.lang.Object
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
.Modifier and Type | Class and Description |
---|---|
static class |
PropertyValue.BooleanPropertyValue |
static class |
PropertyValue.CurrencyPropertyValue
signed 64-bit integer that represents a base ten decimal, with four
digits to the right of the decimal point
|
static class |
PropertyValue.DoublePropertyValue |
static class |
PropertyValue.FloatPropertyValue |
static class |
PropertyValue.LongLongPropertyValue |
static class |
PropertyValue.LongPropertyValue |
static class |
PropertyValue.NullPropertyValue |
static class |
PropertyValue.ShortPropertyValue |
static class |
PropertyValue.TimePropertyValue
64-bit integer specifying the number of 100ns periods since Jan 1, 1601
|
Modifier and Type | Field and Description |
---|---|
protected byte[] |
data |
Constructor and Description |
---|
PropertyValue(MAPIProperty property,
long flags,
byte[] data) |
PropertyValue(MAPIProperty property,
long flags,
byte[] data,
Types.MAPIType actualType) |
Modifier and Type | Method and Description |
---|---|
Types.MAPIType |
getActualType() |
long |
getFlags()
Get the raw value flags.
|
MAPIProperty |
getProperty() |
byte[] |
getRawValue() |
java.lang.Object |
getValue() |
void |
setRawValue(byte[] value) |
java.lang.String |
toString() |
public PropertyValue(MAPIProperty property, long flags, byte[] data)
public PropertyValue(MAPIProperty property, long flags, byte[] data, Types.MAPIType actualType)
public MAPIProperty getProperty()
public long getFlags()
public java.lang.Object getValue()
public byte[] getRawValue()
public Types.MAPIType getActualType()
public void setRawValue(byte[] value)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.