org.apache.poi.contrib.poibrowser
Class PropertySetDescriptor

java.lang.Object
  extended by org.apache.poi.contrib.poibrowser.DocumentDescriptor
      extended by org.apache.poi.contrib.poibrowser.PropertySetDescriptor

public class PropertySetDescriptor
extends DocumentDescriptor

Describes the most important (whatever that is) features of a stream containing a PropertySet.

Since:
2002-02-05
Version:
$Id: PropertySetDescriptor.java 489730 2006-12-22 19:18:16Z bayard $
Author:
Rainer Klute (klute@rainer-klute.de)

Field Summary
protected  PropertySet propertySet
           
 
Constructor Summary
PropertySetDescriptor(java.lang.String name, POIFSDocumentPath path, DocumentInputStream stream, int nrOfBytesToDump)
          Creates a PropertySetDescriptor by reading a PropertySet from a DocumentInputStream.
 
Method Summary
 PropertySet getPropertySet()
          Returns this PropertySetDescriptor's PropertySet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertySet

protected PropertySet propertySet
Constructor Detail

PropertySetDescriptor

public PropertySetDescriptor(java.lang.String name,
                             POIFSDocumentPath path,
                             DocumentInputStream stream,
                             int nrOfBytesToDump)
                      throws NoPropertySetStreamException,
                             MarkUnsupportedException,
                             java.io.UnsupportedEncodingException,
                             java.io.IOException

Creates a PropertySetDescriptor by reading a PropertySet from a DocumentInputStream.

Parameters:
name - The stream's name.
path - The stream's path in the POI filesystem hierarchy.
stream - The stream.
nrOfBytesToDump - The maximum number of bytes to display in a dump starting at the beginning of the stream.
Throws:
NoPropertySetStreamException
MarkUnsupportedException
java.io.UnsupportedEncodingException
java.io.IOException
Method Detail

getPropertySet

public PropertySet getPropertySet()

Returns this PropertySetDescriptor's PropertySet.



Copyright 2008 The Apache Software Foundation or its licensors, as applicable.