Package | Description |
---|---|
org.apache.commons.vfs2 |
The public VFS API.
|
org.apache.commons.vfs2.provider |
The File Provider API, and utility classes.
|
org.apache.commons.vfs2.provider.ftp |
The FTP File Provider.
|
org.apache.commons.vfs2.provider.http |
The HTTP File Provider
|
org.apache.commons.vfs2.provider.http4 |
The HTTP4 File Provider
|
org.apache.commons.vfs2.provider.local |
The Local File Provider.
|
org.apache.commons.vfs2.provider.ram |
The RAM File Provider.
|
org.apache.commons.vfs2.provider.sftp |
The SFTP Provider.
|
org.apache.commons.vfs2.util |
Utility classes used by the VFS.
|
Modifier and Type | Method and Description |
---|---|
RandomAccessContent |
FileContent.getRandomAccessContent(RandomAccessMode mode)
Returns an stream for reading/writing the file's content.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRandomAccessContent
Implements the
DataOutput part of the RandomAccessContent interface and throws
UnsupportedOperationException when one of these methods are called. |
class |
AbstractRandomAccessStreamContent
Implements the part usable for all stream-based random access.
|
private class |
DefaultFileContent.FileRandomAccessContent
An input/output stream for reading/writing content on random positions
|
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<RandomAccessContent> |
FileContentThreadData.randomAccessContentList |
Modifier and Type | Method and Description |
---|---|
protected RandomAccessContent |
AbstractFileObject.doGetRandomAccessContent(RandomAccessMode mode)
Creates access to the file for random i/o.
|
protected RandomAccessContent |
DelegateFileObject.doGetRandomAccessContent(RandomAccessMode mode)
Creates access to the file for random i/o.
|
RandomAccessContent |
AbstractFileObject.getRandomAccessContent(RandomAccessMode mode)
Returns an input/output stream to use to read and write the content of the file in and random manner.
|
RandomAccessContent |
DefaultFileContent.getRandomAccessContent(RandomAccessMode mode)
Returns an input/output stream to use to read and write the content of the file in an random manner.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
FileContentThreadData.addRastr(RandomAccessContent randomAccessContent) |
private void |
DefaultFileContent.endRandomAccess(RandomAccessContent rac)
Handles the end of random access.
|
void |
FileContentThreadData.removeRastr(RandomAccessContent randomAccessContent) |
Constructor and Description |
---|
FileRandomAccessContent(FileObject file,
RandomAccessContent content) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
FtpRandomAccessContent
Implements FTP stream-based random access.
|
Modifier and Type | Method and Description |
---|---|
protected RandomAccessContent |
FtpFileObject.doGetRandomAccessContent(RandomAccessMode mode) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
HttpRandomAccessContent<FS extends HttpFileSystem>
RandomAccess content using HTTP.
|
Modifier and Type | Method and Description |
---|---|
protected RandomAccessContent |
HttpFileObject.doGetRandomAccessContent(RandomAccessMode mode) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
Http4RandomAccessContent<FS extends Http4FileSystem>
RandomAccess content using
Http4FileObject . |
Modifier and Type | Method and Description |
---|---|
protected RandomAccessContent |
Http4FileObject.doGetRandomAccessContent(RandomAccessMode mode) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
LocalFileRandomAccessContent
Implements
RandomAccessContent for local files. |
Modifier and Type | Method and Description |
---|---|
protected RandomAccessContent |
LocalFile.doGetRandomAccessContent(RandomAccessMode mode) |
Modifier and Type | Class and Description |
---|---|
class |
RamFileRandomAccessContent
RAM File Random Access Content.
|
Modifier and Type | Method and Description |
---|---|
protected RandomAccessContent |
RamFileObject.doGetRandomAccessContent(RandomAccessMode mode) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
SftpRandomAccessContent
Random access content.
|
Modifier and Type | Method and Description |
---|---|
protected RandomAccessContent |
SftpFileObject.doGetRandomAccessContent(RandomAccessMode mode) |
Modifier and Type | Class and Description |
---|---|
class |
MonitorRandomAccessContent
A RandomAccessContent that provides end-of-stream monitoring.
|
Modifier and Type | Field and Description |
---|---|
private RandomAccessContent |
MonitorRandomAccessContent.content |
Constructor and Description |
---|
MonitorRandomAccessContent(RandomAccessContent content) |