Class MemoryStore
java.lang.Object
org.nuxeo.ecm.webengine.loader.store.MemoryStore
- All Implemented Interfaces:
ResourceStore
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
byte[]
A string that uniquely identify the location of that store.long
lastModified
(String name) void
void
put
(String name, InputStream data) void
toString()
-
Field Details
-
store
-
location
-
-
Constructor Details
-
MemoryStore
public MemoryStore() -
MemoryStore
-
-
Method Details
-
exists
- Specified by:
exists
in interfaceResourceStore
-
getBytes
- Specified by:
getBytes
in interfaceResourceStore
-
getStream
- Specified by:
getStream
in interfaceResourceStore
-
getURL
- Specified by:
getURL
in interfaceResourceStore
-
lastModified
- Specified by:
lastModified
in interfaceResourceStore
-
put
- Specified by:
put
in interfaceResourceStore
- Throws:
IOException
-
put
- Specified by:
put
in interfaceResourceStore
- Throws:
IOException
-
remove
- Specified by:
remove
in interfaceResourceStore
-
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
-
toString
-