Package org.apache.commons.vfs2
Interface FileContentInfoFactory
-
- All Known Implementing Classes:
FileContentInfoFilenameFactory,Http4FileContentInfoFactory,HttpFileContentInfoFactory
public interface FileContentInfoFactory
CreatesFileContentInfoinstances to determine the content-info for given file contents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileContentInfocreate(FileContent fileContent)Creates a FileContentInfo for the given FileContent.
-
-
-
Method Detail
-
create
FileContentInfo create(FileContent fileContent) throws FileSystemException
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.
-
-