org.apache.commons.vfs2.impl
Class FileContentInfoFilenameFactory
java.lang.Object
org.apache.commons.vfs2.impl.FileContentInfoFilenameFactory
- All Implemented Interfaces:
- FileContentInfoFactory
public class FileContentInfoFilenameFactory
- extends Object
- implements FileContentInfoFactory
The FileContentInfoFilenameFactory.
Uses the filename extension to determine the content-type.
The content-encoding is not resolved.
- Author:
- Commons VFS team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileContentInfoFilenameFactory
public FileContentInfoFilenameFactory()
create
public FileContentInfo create(FileContent fileContent)
- Specified by:
create
in interface FileContentInfoFactory
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.