org.apache.commons.vfs2.impl
Class FileContentInfoFilenameFactory

java.lang.Object
  extended by org.apache.commons.vfs2.impl.FileContentInfoFilenameFactory
All Implemented Interfaces:
FileContentInfoFactory

public class FileContentInfoFilenameFactory
extends java.lang.Object
implements FileContentInfoFactory

The FileContentInfoFilenameFactory.
Uses the filename extension to determine the content-type.
The content-encoding is not resolved.

Author:
Commons VFS team

Constructor Summary
FileContentInfoFilenameFactory()
           
 
Method Summary
 FileContentInfo create(FileContent fileContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileContentInfoFilenameFactory

public FileContentInfoFilenameFactory()
Method Detail

create

public FileContentInfo create(FileContent fileContent)
Specified by:
create in interface FileContentInfoFactory