Class FileResourceStore
java.lang.Object
org.nuxeo.ecm.webengine.loader.store.FileResourceStore
- All Implemented Interfaces:
ResourceStore
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbyte[]final FileA string that uniquely identify the location of that store.getRoot()inthashCode()longlastModified(String name) voidvoidput(String name, InputStream data) voidtoString()
-
Field Details
-
root
-
-
Constructor Details
-
FileResourceStore
- Throws:
IOException
-
-
Method Details
-
getRoot
-
getFile
-
exists
- Specified by:
existsin interfaceResourceStore
-
lastModified
- Specified by:
lastModifiedin interfaceResourceStore
-
getURL
- Specified by:
getURLin interfaceResourceStore
-
getBytes
- Specified by:
getBytesin interfaceResourceStore
-
getStream
- Specified by:
getStreamin interfaceResourceStore
-
remove
- Specified by:
removein interfaceResourceStore
-
put
- Specified by:
putin interfaceResourceStore- Throws:
IOException
-
put
- Specified by:
putin interfaceResourceStore- Throws:
IOException
-
getLocation
Description copied from interface:ResourceStoreA string that uniquely identify the location of that store. Two stores are considered equals if their locations are the same.- Specified by:
getLocationin interfaceResourceStore
-
equals
-
hashCode
public int hashCode() -
toString
-