|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hpsf.PropertySetFactory
Factory class to create instances of SummaryInformation
,
DocumentSummaryInformation
and PropertySet
.
Constructor Summary | |
PropertySetFactory()
|
Method Summary | |
static PropertySet |
create(java.io.InputStream stream)
Creates the most specific PropertySet from an InputStream . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertySetFactory()
Method Detail |
public static PropertySet create(java.io.InputStream stream) throws NoPropertySetStreamException, MarkUnsupportedException, UnexpectedPropertySetTypeException, java.io.IOException
Creates the most specific PropertySet
from an InputStream
. This is preferrably a DocumentSummaryInformation
or a SummaryInformation
. If
the specified InputStream
does not contain a property
set stream, an exception is thrown and the InputStream
is repositioned at its beginning.
stream
- Contains the property set stream's data.
PropertySet
.
NoPropertySetStreamException
- if the stream does not
contain a property set.
MarkUnsupportedException
- if the stream does not support
the mark
operation.
UnexpectedPropertySetTypeException
- if the property
set's type is unexpected.
java.io.IOException
- if some I/O problem occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |