Class StaticDocumentBundle
java.lang.Object
org.pentaho.reporting.libraries.docbundle.StaticDocumentBundle
- All Implemented Interfaces:
DocumentBundle
-
Constructor Summary
ConstructorDescriptionStaticDocumentBundle
(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
Modifier and TypeMethodDescriptionorg.pentaho.reporting.libraries.resourceloader.ResourceKey
getEntryAsStream
(String name) getEntryMimeType
(String name) org.pentaho.reporting.libraries.resourceloader.ResourceManager
boolean
isEntryExists
(String name) boolean
isEntryReadable
(String name)
-
Constructor Details
-
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 Details
-
getMetaData
- Specified by:
getMetaData
in interfaceDocumentBundle
-
isEntryExists
- Specified by:
isEntryExists
in interfaceDocumentBundle
-
isEntryReadable
- Specified by:
isEntryReadable
in interfaceDocumentBundle
-
getEntryAsStream
- Specified by:
getEntryAsStream
in interfaceDocumentBundle
- Throws:
IOException
-
getEntryMimeType
- 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
-