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 FileContentInfocreate(FileContent fileContent)Creates a FileContentInfo for a the given FileContent.
-
-
-
Method Detail
-
create
public FileContentInfo create(FileContent fileContent) throws FileSystemException
Description copied from interface:FileContentInfoFactoryCreates a FileContentInfo for a the given FileContent.- Specified by:
createin 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.
-
-