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