net.sf.mpxj.mpp
Class ViewStateReader

java.lang.Object
  extended by net.sf.mpxj.mpp.ViewStateReader
Direct Known Subclasses:
ViewStateReader12, ViewStateReader9

public abstract class ViewStateReader
extends Object

This class allows the saved state of a view to be read from an MPP file.


Constructor Summary
ViewStateReader()
           
 
Method Summary
protected abstract  net.sf.mpxj.mpp.Props getProps(net.sf.mpxj.mpp.Var2Data varData)
          Retrieves the props data using a file format specific method.
 void process(ProjectFile file, net.sf.mpxj.mpp.Var2Data varData, byte[] fixedData)
          Entry point for processing saved view state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewStateReader

public ViewStateReader()
Method Detail

getProps

protected abstract net.sf.mpxj.mpp.Props getProps(net.sf.mpxj.mpp.Var2Data varData)
                                           throws IOException
Retrieves the props data using a file format specific method.

Parameters:
varData - var data block
Returns:
props data
Throws:
IOException

process

public void process(ProjectFile file,
                    net.sf.mpxj.mpp.Var2Data varData,
                    byte[] fixedData)
             throws IOException
Entry point for processing saved view state.

Parameters:
file - project file
varData - view state var data
fixedData - view state fixed data
Throws:
IOException


Copyright © 2012. All Rights Reserved.