Package org.apache.poi.hslf
Class HSLFParser
java.lang.Object
org.apache.poi.hslf.HSLFParser
Methods that wrap
HSLFSlideShow parsing functionality.
One difference is that the methods in this class try to
throw HSLFReadException or IOException instead of RuntimeException.
You can still get an Errors like an OutOfMemoryError.- Since:
- 5.5.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic HSLFSlideShowparse(InputStream stream) Parse the given InputStream and return a newHSLFSlideShowinstance.
-
Method Details
-
parse
Parse the given InputStream and return a newHSLFSlideShowinstance.- Parameters:
stream- the data to parse (will be closed after parsing)- Returns:
- a new
HSLFSlideShowinstance - Throws:
HSLFReadException- if an error occurs while reading the fileIOException- if an I/O error occurs while reading the file
-