FileDocCategorySizeDatePackage
PropertySetDescriptor.javaAPI DocApache Poi 3.0.12899Mon Jan 01 12:39:34 GMT 2007org.apache.poi.contrib.poibrowser

PropertySetDescriptor

public class PropertySetDescriptor extends DocumentDescriptor

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

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

Fields Summary
protected PropertySet
propertySet
Constructors Summary
public PropertySetDescriptor(String name, POIFSDocumentPath path, DocumentInputStream stream, int nrOfBytesToDump)

Creates a {@link PropertySetDescriptor} by reading a {@link PropertySet} from a {@link DocumentInputStream}.

param
name The stream's name.
param
path The stream's path in the POI filesystem hierarchy.
param
stream The stream.
param
nrOfBytesToDump The maximum number of bytes to display in a dump starting at the beginning of the stream.

        super(name, path, stream, nrOfBytesToDump);
        propertySet = PropertySetFactory.create(stream);
    
Methods Summary
public org.apache.poi.hpsf.PropertySetgetPropertySet()

Returns this {@link PropertySetDescriptor}'s {@link PropertySet}.

        return propertySet;