Class HttpFileContentInfoFactory
- java.lang.Object
-
- org.apache.commons.vfs2.provider.http.HttpFileContentInfoFactory
-
- All Implemented Interfaces:
FileContentInfoFactory
public class HttpFileContentInfoFactory extends java.lang.Object implements FileContentInfoFactory
Creates FileContentInfo instances for HTTP.
-
-
Constructor Summary
Constructors Constructor Description HttpFileContentInfoFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileContentInfo
create(FileContent fileContent)
Creates a FileContentInfo for a the given FileContent.
-
-
-
Constructor Detail
-
HttpFileContentInfoFactory
public HttpFileContentInfoFactory()
-
-
Method Detail
-
create
public FileContentInfo create(FileContent fileContent) throws FileSystemException
Description copied from interface:FileContentInfoFactory
Creates a FileContentInfo for a the given FileContent.- Specified by:
create
in interfaceFileContentInfoFactory
- Parameters:
fileContent
- Use this FileContent to create a matching FileContentInfo- Returns:
- a FileContentInfo for the given FileContent.
- Throws:
FileSystemException
- when a problem occurs creating the FileContentInfo.
-
-