Package org.apache.commons.vfs.util
Class FileObjectDataSource
java.lang.Object
org.apache.commons.vfs.util.FileObjectDataSource
- All Implemented Interfaces:
DataSource
Provide access to a FileObject as DataSource
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileObjectDataSource
public FileObjectDataSource(org.apache.commons.vfs.FileObject fo)
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in interfaceDataSource
- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStream
in interfaceDataSource
- Throws:
IOException
-
getContentType
- Specified by:
getContentType
in interfaceDataSource
-
getName
- Specified by:
getName
in interfaceDataSource
-