public class StaticDocumentBundle extends Object implements DocumentBundle
Constructor and Description |
---|
StaticDocumentBundle(Repository repository) |
StaticDocumentBundle(Repository repository,
ResourceManager resourceManager,
ResourceKey outsideContextKey) |
Modifier and Type | Method and Description |
---|---|
ResourceKey |
getBundleKey() |
InputStream |
getEntryAsStream(String name) |
String |
getEntryMimeType(String name) |
DocumentMetaData |
getMetaData() |
ResourceManager |
getResourceManager() |
boolean |
isEntryExists(String name) |
boolean |
isEntryReadable(String name) |
public StaticDocumentBundle(Repository repository, ResourceManager resourceManager, ResourceKey outsideContextKey) throws ResourceException
ResourceException
public StaticDocumentBundle(Repository repository) throws ResourceException
ResourceException
public DocumentMetaData getMetaData()
getMetaData
in interface DocumentBundle
public boolean isEntryExists(String name)
isEntryExists
in interface DocumentBundle
public boolean isEntryReadable(String name)
isEntryReadable
in interface DocumentBundle
public InputStream getEntryAsStream(String name) throws IOException
getEntryAsStream
in interface DocumentBundle
IOException
public String getEntryMimeType(String name)
getEntryMimeType
in interface DocumentBundle
public ResourceManager getResourceManager()
getResourceManager
in interface DocumentBundle
public ResourceKey getBundleKey()
getBundleKey
in interface DocumentBundle
Copyright © 2018 Hitachi Vantara. All rights reserved.