Java org.apache.commons.vfs FileContent fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.vfs FileContent fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.vfs FileContent.

The text is from its open source code.

Implementation

org.apache.commons.vfs.FileContent has the following implementations.
Click this link to see all its implementation.

Method

voidclose()
Closes all resources used by the content, including any open stream.
String[]getAttributeNames()
Lists the attributes of the file's content.
MapgetAttributes()
Returns a read-only map of this file's attributes.
Certificate[]getCertificates()
Retrieves the certificates if any used to sign this file or folder.
FileContentInfogetContentInfo()
get the content info.
FileObjectgetFile()
Returns the file which this is the content of.
InputStreamgetInputStream()
Returns an input stream for reading the file's content.
longgetLastModifiedTime()
Determines the last-modified timestamp of the file.
OutputStreamgetOutputStream(boolean bAppend)
Returns an output stream for writing the file's content.
OutputStreamgetOutputStream()
Returns an output stream for writing the file's content.
RandomAccessContentgetRandomAccessContent(final RandomAccessMode mode)
Returns an stream for reading/writing the file's content.
longgetSize()
Determines the size of the file, in bytes.
voidsetAttribute(String attrName, Object value)
Sets the value of an attribute of the file's content.