Class RdbmsResourceProvider
java.lang.Object
org.exoplatform.commons.file.resource.RdbmsResourceProvider
- All Implemented Interfaces:
BinaryProvider
This class provide database implementation of the File RDBMS API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbyte[]getFilePath(String name) getFilePath(FileInfo fileInfo) inthashCode()longlastModified(String name) voidvoidput(String name, InputStream data) voidvoidbooleantoString()
-
Constructor Details
-
RdbmsResourceProvider
-
-
Method Details
-
put
- Specified by:
putin interfaceBinaryProvider- Throws:
IOException
-
put
- Specified by:
putin interfaceBinaryProvider- Throws:
IOException
-
put
- Specified by:
putin interfaceBinaryProvider- Throws:
IOException
-
getStream
- Specified by:
getStreamin interfaceBinaryProvider
-
getFilePath
- Specified by:
getFilePathin interfaceBinaryProvider
-
getFilePath
- Specified by:
getFilePathin interfaceBinaryProvider
-
getBytes
- Specified by:
getBytesin interfaceBinaryProvider
-
remove
- Specified by:
removein interfaceBinaryProvider- Throws:
IOException
-
remove
- Specified by:
removein interfaceBinaryProvider- Throws:
IOException
-
exists
- Specified by:
existsin interfaceBinaryProvider- Throws:
IOException
-
lastModified
- Specified by:
lastModifiedin interfaceBinaryProvider- Throws:
IOException
-
getURL
- Specified by:
getURLin interfaceBinaryProvider
-
getLocation
- Specified by:
getLocationin interfaceBinaryProvider
-
equals
-
hashCode
public int hashCode() -
toString
-