org.apache.commons.vfs.impl
Class DefaultFileContentInfo

java.lang.Object
  extended by org.apache.commons.vfs.impl.DefaultFileContentInfo
All Implemented Interfaces:
FileContentInfo

public class DefaultFileContentInfo
extends Object
implements FileContentInfo

The default file content information.

Author:
Commons VFS team

Constructor Summary
DefaultFileContentInfo(String contentType, String contentEncoding)
           
 
Method Summary
 String getContentEncoding()
          the content encoding.
 String getContentType()
          the content type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFileContentInfo

public DefaultFileContentInfo(String contentType,
                              String contentEncoding)
Method Detail

getContentType

public String getContentType()
Description copied from interface: FileContentInfo
the content type.

Specified by:
getContentType in interface FileContentInfo
Returns:
The file content type.

getContentEncoding

public String getContentEncoding()
Description copied from interface: FileContentInfo
the content encoding.

Specified by:
getContentEncoding in interface FileContentInfo
Returns:
The file content encoding.


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.