@Internal public class HSLFSlideShowFactory extends java.lang.Object implements SlideShowProvider<HSLFShape,HSLFTextParagraph>
SlideShowFactory.create(java.io.File)
and similarConstructor and Description |
---|
HSLFSlideShowFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(FileMagic fm) |
HSLFSlideShow |
create()
Create a new empty SlideShow
|
HSLFSlideShow |
create(DirectoryNode root,
java.lang.String password)
Creates a HSLFSlideShow from the given DirectoryNode
|
HSLFSlideShow |
create(java.io.File file,
java.lang.String password,
boolean readOnly) |
HSLFSlideShow |
create(java.io.InputStream inp) |
HSLFSlideShow |
create(java.io.InputStream inp,
java.lang.String password) |
static HSLFSlideShow |
createSlideShow(POIFSFileSystem fs)
Creates a HSLFSlideShow from the given
POIFSFileSystem |
public boolean accepts(FileMagic fm)
accepts
in interface SlideShowProvider<HSLFShape,HSLFTextParagraph>
public HSLFSlideShow create()
create
in interface SlideShowProvider<HSLFShape,HSLFTextParagraph>
public static HSLFSlideShow createSlideShow(POIFSFileSystem fs) throws java.io.IOException
POIFSFileSystem
Note that in order to properly release resources the SlideShow should be closed after use.
java.io.IOException
public HSLFSlideShow create(DirectoryNode root, java.lang.String password) throws java.io.IOException
Note that in order to properly release resources the SlideShow should be closed after use.
create
in interface SlideShowProvider<HSLFShape,HSLFTextParagraph>
java.io.IOException
public HSLFSlideShow create(java.io.InputStream inp) throws java.io.IOException
create
in interface SlideShowProvider<HSLFShape,HSLFTextParagraph>
java.io.IOException
public HSLFSlideShow create(java.io.InputStream inp, java.lang.String password) throws java.io.IOException
create
in interface SlideShowProvider<HSLFShape,HSLFTextParagraph>
java.io.IOException
public HSLFSlideShow create(java.io.File file, java.lang.String password, boolean readOnly) throws java.io.IOException
create
in interface SlideShowProvider<HSLFShape,HSLFTextParagraph>
java.io.IOException
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.