Class StaticDocumentBundle
java.lang.Object
org.pentaho.reporting.libraries.docbundle.StaticDocumentBundle
- All Implemented Interfaces:
DocumentBundle
-
Constructor Summary
ConstructorsConstructorDescriptionStaticDocumentBundle(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.ResourceKeygetEntryAsStream(String name) getEntryMimeType(String name) org.pentaho.reporting.libraries.resourceloader.ResourceManagerbooleanisEntryExists(String name) booleanisEntryReadable(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:
getMetaDatain interfaceDocumentBundle
-
isEntryExists
- Specified by:
isEntryExistsin interfaceDocumentBundle
-
isEntryReadable
- Specified by:
isEntryReadablein interfaceDocumentBundle
-
getEntryAsStream
- Specified by:
getEntryAsStreamin interfaceDocumentBundle- Throws:
IOException
-
getEntryMimeType
- Specified by:
getEntryMimeTypein interfaceDocumentBundle
-
getResourceManager
public org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()- Specified by:
getResourceManagerin interfaceDocumentBundle
-
getBundleKey
public org.pentaho.reporting.libraries.resourceloader.ResourceKey getBundleKey()- Specified by:
getBundleKeyin interfaceDocumentBundle
-