|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hslf.HSLFSlideShow
This class contains the main functionality for the Powerpoint file "reader". It is only a very basic class for now
Constructor Summary | |
HSLFSlideShow(java.io.InputStream inputStream)
Constructs a Powerpoint document from an input stream. |
|
HSLFSlideShow(POIFSFileSystem filesystem)
Constructs a Powerpoint document from a POIFS Filesystem. |
|
HSLFSlideShow(java.lang.String fileName)
Constructs a Powerpoint document from fileName. |
Method Summary | |
void |
close()
Shuts things down. |
CurrentUserAtom |
getCurrentUserAtom()
Fetch the Current User Atom of the document |
DocumentSummaryInformation |
getDocumentSummaryInformation()
Fetch the Document Summary Information of the document |
PropertySet |
getPropertySet(java.lang.String setName)
For a given named property entry, either return it or null if if it wasn't found |
Record[] |
getRecords()
Returns an array of all the records found in the slideshow |
SummaryInformation |
getSummaryInformation()
Fetch the Summary Information of the document |
byte[] |
getUnderlyingBytes()
Returns an array of the bytes of the file. |
void |
readProperties()
Find the properties from the filesystem, and load them |
void |
write(java.io.OutputStream out)
Writes out the slideshow file the is represented by an instance of this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HSLFSlideShow(java.lang.String fileName) throws java.io.IOException
fileName
- The name of the file to read.
java.io.IOException
- if there is a problem while parsing the document.public HSLFSlideShow(java.io.InputStream inputStream) throws java.io.IOException
inputStream
- the source of the data
java.io.IOException
- if there is a problem while parsing the document.public HSLFSlideShow(POIFSFileSystem filesystem) throws java.io.IOException
filesystem
- the POIFS FileSystem to read from
java.io.IOException
- if there is a problem while parsing the document.Method Detail |
public void close() throws java.io.IOException
java.io.IOException
public void readProperties()
public PropertySet getPropertySet(java.lang.String setName)
public void write(java.io.OutputStream out) throws java.io.IOException
out
- The OutputStream to write to.
java.io.IOException
- If there is an unexpected IOException from the passed
in OutputStreampublic Record[] getRecords()
public byte[] getUnderlyingBytes()
public DocumentSummaryInformation getDocumentSummaryInformation()
public SummaryInformation getSummaryInformation()
public CurrentUserAtom getCurrentUserAtom()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |