Interface BinaryProvider
- All Known Implementing Classes:
BinaryProviderDelegate,FileSystemResourceProvider,MemoryProvider,RdbmsResourceProvider
public interface BinaryProvider
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.
Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]getFilePath(String name) getFilePath(FileInfo fileInfo) longlastModified(String name) voidvoidput(String name, InputStream data) voidvoidboolean
-
Method Details
-
put
- Throws:
IOException
-
put
- Throws:
IOException
-
put
- Throws:
IOException
-
getStream
-
getFilePath
- Throws:
IOException
-
getFilePath
- Throws:
IOException
-
getBytes
-
remove
- Throws:
IOException
-
remove
- Throws:
IOException
-
exists
- Throws:
IOException
-
lastModified
- Throws:
IOException
-
getURL
-
getLocation
String getLocation()
-