Interface ResourceStore
- All Known Implementing Classes:
FileResourceStore,MemoryStore
public interface ResourceStore
When implementing a resource store you should implement equals and hashCode method. A store is equals to another if
the store location is the same.
- Author:
- Bogdan Stefanescu
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]A string that uniquely identify the location of that store.longlastModified(String name) voidvoidput(String name, InputStream data) void
-
Method Details
-
put
- Throws:
IOException
-
put
- Throws:
IOException
-
getStream
-
getBytes
-
remove
-
exists
-
lastModified
-
getURL
-
getLocation
String getLocation()A string that uniquely identify the location of that store. Two stores are considered equals if their locations are the same.
-