Class StaticDocumentBundle
- java.lang.Object
-
- org.pentaho.reporting.libraries.docbundle.StaticDocumentBundle
-
- All Implemented Interfaces:
DocumentBundle
public class StaticDocumentBundle extends Object implements DocumentBundle
-
-
Constructor Summary
Constructors Constructor Description StaticDocumentBundle(org.pentaho.reporting.libraries.repository.Repository repository)
StaticDocumentBundle(org.pentaho.reporting.libraries.repository.Repository repository, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager, org.pentaho.reporting.libraries.resourceloader.ResourceKey outsideContextKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.pentaho.reporting.libraries.resourceloader.ResourceKey
getBundleKey()
InputStream
getEntryAsStream(String name)
String
getEntryMimeType(String name)
DocumentMetaData
getMetaData()
org.pentaho.reporting.libraries.resourceloader.ResourceManager
getResourceManager()
boolean
isEntryExists(String name)
boolean
isEntryReadable(String name)
-
-
-
Constructor Detail
-
StaticDocumentBundle
public StaticDocumentBundle(org.pentaho.reporting.libraries.repository.Repository repository, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager, org.pentaho.reporting.libraries.resourceloader.ResourceKey outsideContextKey) throws org.pentaho.reporting.libraries.resourceloader.ResourceException
- Throws:
org.pentaho.reporting.libraries.resourceloader.ResourceException
-
StaticDocumentBundle
public StaticDocumentBundle(org.pentaho.reporting.libraries.repository.Repository repository) throws org.pentaho.reporting.libraries.resourceloader.ResourceException
- Throws:
org.pentaho.reporting.libraries.resourceloader.ResourceException
-
-
Method Detail
-
getMetaData
public DocumentMetaData getMetaData()
- Specified by:
getMetaData
in interfaceDocumentBundle
-
isEntryExists
public boolean isEntryExists(String name)
- Specified by:
isEntryExists
in interfaceDocumentBundle
-
isEntryReadable
public boolean isEntryReadable(String name)
- Specified by:
isEntryReadable
in interfaceDocumentBundle
-
getEntryAsStream
public InputStream getEntryAsStream(String name) throws IOException
- Specified by:
getEntryAsStream
in interfaceDocumentBundle
- Throws:
IOException
-
getEntryMimeType
public String getEntryMimeType(String name)
- Specified by:
getEntryMimeType
in interfaceDocumentBundle
-
getResourceManager
public org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
- Specified by:
getResourceManager
in interfaceDocumentBundle
-
getBundleKey
public org.pentaho.reporting.libraries.resourceloader.ResourceKey getBundleKey()
- Specified by:
getBundleKey
in interfaceDocumentBundle
-
-