MPXJ: Microsoft Project Exchange

net.sf.mpxj.mpp
Class FilterCriteriaReader14

java.lang.Object
  extended by net.sf.mpxj.mpp.CriteriaReader
      extended by net.sf.mpxj.mpp.FilterCriteriaReader14

public final class FilterCriteriaReader14
extends CriteriaReader

This class allows filter criteria definitions to be read from an MPP file.


Field Summary
 
Fields inherited from class net.sf.mpxj.mpp.CriteriaReader
m_criteriaBlockMap
 
Constructor Summary
FilterCriteriaReader14()
           
 
Method Summary
protected  byte[] getChildBlock(byte[] block)
          Retrieves the child of the current block.
protected  int getCriteriaBlockSize()
          Retrieves the criteria block size.
protected  int getCriteriaStartOffset()
          Retrieves the offset of the start of the criteria data.
protected  int getCriteriaTextStartOffset()
          Retrieves offset of value which determines the start of the text block.
protected  FieldType getFieldType(byte[] block)
          Retrieves a field type value.
protected  byte[] getListNextBlock(byte[] block)
          Retrieves the next list sibling of this block.
protected  int getPromptOffset(byte[] block)
          Retrieves the offset of the prompt text.
protected  int getTextOffset(byte[] block)
          Retrieves the offset of the start of the text block.
protected  int getTimeUnitsOffset()
          Retrieves the offset of the time unit field.
protected  int getValueOffset()
          Retrieves the offset of the field value.
 
Methods inherited from class net.sf.mpxj.mpp.CriteriaReader
process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterCriteriaReader14

public FilterCriteriaReader14()
Method Detail

getCriteriaBlockSize

protected int getCriteriaBlockSize()
Retrieves the criteria block size.

Specified by:
getCriteriaBlockSize in class CriteriaReader
Returns:
criteria block size

getCriteriaStartOffset

protected int getCriteriaStartOffset()
Retrieves the offset of the start of the criteria data.

Specified by:
getCriteriaStartOffset in class CriteriaReader
Returns:
criteria start offset

getChildBlock

protected byte[] getChildBlock(byte[] block)
Retrieves the child of the current block.

Specified by:
getChildBlock in class CriteriaReader
Parameters:
block - parent block
Returns:
child block

getListNextBlock

protected byte[] getListNextBlock(byte[] block)
Retrieves the next list sibling of this block.

Specified by:
getListNextBlock in class CriteriaReader
Parameters:
block - current block
Returns:
next sibling list block

getFieldType

protected FieldType getFieldType(byte[] block)
Retrieves a field type value.

Specified by:
getFieldType in class CriteriaReader
Parameters:
block - criteria block
Returns:
field type value

getTextOffset

protected int getTextOffset(byte[] block)
Retrieves the offset of the start of the text block.

Specified by:
getTextOffset in class CriteriaReader
Parameters:
block - current block
Returns:
text block start offset

getPromptOffset

protected int getPromptOffset(byte[] block)
Retrieves the offset of the prompt text.

Specified by:
getPromptOffset in class CriteriaReader
Parameters:
block - current block
Returns:
prompt text offset

getValueOffset

protected int getValueOffset()
Retrieves the offset of the field value.

Specified by:
getValueOffset in class CriteriaReader
Returns:
field value offset

getTimeUnitsOffset

protected int getTimeUnitsOffset()
Retrieves the offset of the time unit field.

Specified by:
getTimeUnitsOffset in class CriteriaReader
Returns:
time unit field offset

getCriteriaTextStartOffset

protected int getCriteriaTextStartOffset()
Retrieves offset of value which determines the start of the text block.

Specified by:
getCriteriaTextStartOffset in class CriteriaReader
Returns:
criteria text start offset


Copyright © 2000-2014 Packwood Software. All Rights Reserved.