Package org.apache.commons.vfs2
Interface FileContentInfoFactory
- All Known Implementing Classes:
FileContentInfoFilenameFactory,Http4FileContentInfoFactory,Http5FileContentInfoFactory,HttpFileContentInfoFactory
public interface FileContentInfoFactory
Creates
FileContentInfo instances to determine the content-info for given file contents.-
Method Summary
Modifier and TypeMethodDescriptioncreate(FileContent fileContent) Creates a FileContentInfo for the given FileContent.
-
Method Details
-
create
Creates a FileContentInfo for the given FileContent.- 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.
-