org.apache.poi.contrib.poibrowser
public class PropertySetDescriptor extends DocumentDescriptor
Describes the most important (whatever that is) features of a
stream containing a PropertySet
.
Modifier and Type | Field and Description |
---|---|
protected PropertySet |
propertySet |
Constructor and Description |
---|
PropertySetDescriptor(java.lang.String name,
POIFSDocumentPath path,
DocumentInputStream stream,
int nrOfBytesToDump)
|
Modifier and Type | Method and Description |
---|---|
PropertySet |
getPropertySet()
Returns this
PropertySetDescriptor 's PropertySet . |
protected PropertySet propertySet
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
.
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.NoPropertySetStreamException
MarkUnsupportedException
java.io.UnsupportedEncodingException
java.io.IOException
public PropertySet getPropertySet()
Returns this PropertySetDescriptor
's PropertySet
.
Copyright 2014 The Apache Software Foundation or its licensors, as applicable.