public abstract class CustomFieldValueReader extends Object
Modifier and Type | Field and Description |
---|---|
protected CustomFieldContainer |
m_container |
protected net.sf.mpxj.mpp.FixedData |
m_outlineCodeFixedData |
protected net.sf.mpxj.mpp.FixedData |
m_outlineCodeFixedData2 |
protected net.sf.mpxj.mpp.Var2Data |
m_outlineCodeVarData |
protected net.sf.mpxj.mpp.VarMeta |
m_outlineCodeVarMeta |
protected ProjectProperties |
m_properties |
protected net.sf.mpxj.mpp.Props |
m_taskProps |
static Integer |
VALUE_LIST_DESCRIPTION |
static Integer |
VALUE_LIST_UNKNOWN |
static Integer |
VALUE_LIST_VALUE |
Constructor and Description |
---|
CustomFieldValueReader(ProjectProperties properties,
CustomFieldContainer container,
net.sf.mpxj.mpp.VarMeta outlineCodeVarMeta,
net.sf.mpxj.mpp.Var2Data outlineCodeVarData,
net.sf.mpxj.mpp.FixedData outlineCodeFixedData,
net.sf.mpxj.mpp.FixedData outlineCodeFixedData2,
net.sf.mpxj.mpp.Props taskProps)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
getTypedValue(int type,
byte[] value)
Convert raw value as read from the MPP file into a Java type.
|
abstract void |
process()
Method implement by subclasses to read custom field values.
|
protected ProjectProperties m_properties
protected CustomFieldContainer m_container
protected net.sf.mpxj.mpp.VarMeta m_outlineCodeVarMeta
protected net.sf.mpxj.mpp.Var2Data m_outlineCodeVarData
protected net.sf.mpxj.mpp.FixedData m_outlineCodeFixedData
protected net.sf.mpxj.mpp.FixedData m_outlineCodeFixedData2
protected net.sf.mpxj.mpp.Props m_taskProps
public static final Integer VALUE_LIST_VALUE
public static final Integer VALUE_LIST_DESCRIPTION
public static final Integer VALUE_LIST_UNKNOWN
public CustomFieldValueReader(ProjectProperties properties, CustomFieldContainer container, net.sf.mpxj.mpp.VarMeta outlineCodeVarMeta, net.sf.mpxj.mpp.Var2Data outlineCodeVarData, net.sf.mpxj.mpp.FixedData outlineCodeFixedData, net.sf.mpxj.mpp.FixedData outlineCodeFixedData2, net.sf.mpxj.mpp.Props taskProps)
properties
- project propertiescontainer
- custom field configoutlineCodeVarMeta
- raw mpp dataoutlineCodeVarData
- raw mpp dataoutlineCodeFixedData
- raw mpp dataoutlineCodeFixedData2
- raw mpp datataskProps
- raw mpp datapublic abstract void process() throws IOException
IOException
protected Object getTypedValue(int type, byte[] value)
type
- MPP value typevalue
- raw value dataCopyright © 2000–2017 Packwood Software. All rights reserved.