public class FilesResourcesStorage extends AbstractResourcesStorage
Modifier and Type | Class and Description |
---|---|
static class |
FilesResourcesStorage.FileResource |
AbstractResourcesStorage.AbstractResource
ResourcesStorage.Resource
EMPTY_RESOURCESSTORAGE
Constructor and Description |
---|
FilesResourcesStorage(java.util.List<java.lang.String> fullPathNames) |
FilesResourcesStorage(java.lang.String fullPathName) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.String resourceName,
java.io.InputStream is) |
boolean |
allowRemove() |
java.util.List<java.lang.String> |
getPaths() |
ResourcesStorage.Resource |
getResource(java.lang.String resourceName) |
java.util.List<java.lang.String> |
getResourceNames()
Return the resource names in this store.
|
boolean |
remove(java.lang.String resourceName) |
java.lang.String |
toString() |
clearCache, doDispose, exists, getLocalizedResource, getLocalizedResources, getResources, getSeparator, isEmpty, isReadOnly
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createBytesResource, createFilesResourcesStorage, createFilesResourcesStorage, createMultiResourcesStorage, createResource, createResource, isEmpty
dispose
public FilesResourcesStorage(java.lang.String fullPathName)
public FilesResourcesStorage(java.util.List<java.lang.String> fullPathNames)
public ResourcesStorage.Resource getResource(java.lang.String resourceName)
public java.util.List<java.lang.String> getPaths()
public java.util.List<java.lang.String> getResourceNames()
ResourcesStorage
getResourceNames
in interface ResourcesStorage
getResourceNames
in class AbstractResourcesStorage
public boolean add(java.lang.String resourceName, java.io.InputStream is)
add
in interface ResourcesStorage
add
in class AbstractResourcesStorage
public boolean remove(java.lang.String resourceName)
remove
in interface ResourcesStorage
remove
in class AbstractResourcesStorage
public boolean allowRemove()
allowRemove
in interface ResourcesStorage
allowRemove
in class AbstractResourcesStorage
public java.lang.String toString()
toString
in class java.lang.Object