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.ResourceKeygetBundleKey()InputStreamgetEntryAsStream(String name)StringgetEntryMimeType(String name)DocumentMetaDatagetMetaData()org.pentaho.reporting.libraries.resourceloader.ResourceManagergetResourceManager()booleanisEntryExists(String name)booleanisEntryReadable(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:
getMetaDatain interfaceDocumentBundle
-
isEntryExists
public boolean isEntryExists(String name)
- Specified by:
isEntryExistsin interfaceDocumentBundle
-
isEntryReadable
public boolean isEntryReadable(String name)
- Specified by:
isEntryReadablein interfaceDocumentBundle
-
getEntryAsStream
public InputStream getEntryAsStream(String name) throws IOException
- Specified by:
getEntryAsStreamin interfaceDocumentBundle- Throws:
IOException
-
getEntryMimeType
public String getEntryMimeType(String name)
- 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
-
-