@Deprecated public interface Resource
Modifier and Type | Method and Description |
---|---|
String |
getEncoding()
Deprecated.
Returns the encoding if the data stream, if it is a character stream.
|
InputStream |
getInputStream()
Deprecated.
Returns the data stream.
|
Date |
getLastModified()
Deprecated.
Returns the last modification date.
|
long |
getLength()
Deprecated.
Returns the length of the data stream.
|
String |
getMimeType()
Deprecated.
Returns the data mime-type.
|
String getMimeType() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.InputStream getInputStream() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.long getLength() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.String getEncoding() throws AmetysRepositoryException
null
if not available.AmetysRepositoryException
- if an error occurs.Date getLastModified() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.