Class MemoryStore
java.lang.Object
org.nuxeo.ecm.webengine.loader.store.MemoryStore
- All Implemented Interfaces:
ResourceStore
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]A string that uniquely identify the location of that store.longlastModified(String name) voidvoidput(String name, InputStream data) voidtoString()
-
Field Details
-
store
-
location
-
-
Constructor Details
-
MemoryStore
public MemoryStore() -
MemoryStore
-
-
Method Details
-
exists
- Specified by:
existsin interfaceResourceStore
-
getBytes
- Specified by:
getBytesin interfaceResourceStore
-
getStream
- Specified by:
getStreamin interfaceResourceStore
-
getURL
- Specified by:
getURLin interfaceResourceStore
-
lastModified
- Specified by:
lastModifiedin interfaceResourceStore
-
put
- Specified by:
putin interfaceResourceStore- Throws:
IOException
-
put
- Specified by:
putin interfaceResourceStore- Throws:
IOException
-
remove
- Specified by:
removein interfaceResourceStore
-
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
-
toString
-