public interface FileContent
PostRequest
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
Returns the content type of this file content object.
|
InputStream |
getInputStream()
Returns an input stream allowing the read the contents of
this file content object.
|
String |
getName()
Returns the basename of this file content object.
|
long |
getSize()
Returns the size in bytes of this file content object.
|
String getContentType()
null
if unknown.String getName()
null
if not applicable.long getSize()
InputStream getInputStream() throws IOException
IOException
- if an I/O error occurs.