Example usage for Java org.apache.commons.vfs2 FileContent fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes all resources used by the content, including any open stream. |
Object | getAttribute(String attrName) Gets the value of an attribute of the file's content. |
Map | getAttributes() Returns a read-only map of this file's attributes. |
FileContentInfo | getContentInfo() get the content info. |
FileObject | getFile() Returns the file which this is the content of. |
InputStream | getInputStream() Returns an input stream for reading the file's content. |
long | getLastModifiedTime() Determines the last-modified timestamp of the file. |
OutputStream | getOutputStream() Returns an output stream for writing the file's content. |
OutputStream | getOutputStream(boolean bAppend) Returns an output stream for writing the file's content. |
long | getSize() Determines the size of the file, in bytes. |
void | setLastModifiedTime(long modTime) Sets the last-modified timestamp of the file. |