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
.
(PropertiesChunk 内的 MAPIProperty 实例。在 Types 类型是固定长度的情况下,这将包含实际值。如果 Types 类型是可变长度的,这将包含属性的长度,并且值将在关联的 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
(带符号的 64 位整数,表示以十进制为底的十进制,小数点右侧有四位)
|
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
(64 位整数,指定自 1601 年 1 月 1 日以来的 100ns 周期数)
|
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.