public final class HSLFParser extends Object
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.| Modifier and Type | Method and Description |
|---|---|
static HSLFSlideShow |
parse(InputStream stream)
Parse the given InputStream and return a new
HSLFSlideShow instance. |
public static HSLFSlideShow parse(InputStream stream) throws HSLFReadException, IOException
HSLFSlideShow instance.stream - the data to parse (will be closed after parsing)HSLFSlideShow instanceHSLFReadException - if an error occurs while reading the fileIOException - if an I/O error occurs while reading the file