Class FileResourceStore
java.lang.Object
org.nuxeo.ecm.webengine.loader.store.FileResourceStore
- All Implemented Interfaces:
ResourceStore
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
byte[]
final File
A string that uniquely identify the location of that store.getRoot()
int
hashCode()
long
lastModified
(String name) void
void
put
(String name, InputStream data) void
toString()
-
Field Details
-
root
-
-
Constructor Details
-
FileResourceStore
- Throws:
IOException
-
-
Method Details
-
getRoot
-
getFile
-
exists
- Specified by:
exists
in interfaceResourceStore
-
lastModified
- Specified by:
lastModified
in interfaceResourceStore
-
getURL
- Specified by:
getURL
in interfaceResourceStore
-
getBytes
- Specified by:
getBytes
in interfaceResourceStore
-
getStream
- Specified by:
getStream
in interfaceResourceStore
-
remove
- Specified by:
remove
in interfaceResourceStore
-
put
- Specified by:
put
in interfaceResourceStore
- Throws:
IOException
-
put
- Specified by:
put
in interfaceResourceStore
- Throws:
IOException
-
getLocation
Description copied from interface:ResourceStore
A string that uniquely identify the location of that store. Two stores are considered equals if their locations are the same.- Specified by:
getLocation
in interfaceResourceStore
-
equals
-
hashCode
public int hashCode() -
toString
-