org.apache.commons.vfs2.impl
Class DefaultFileContentInfo

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

public class DefaultFileContentInfo
extends java.lang.Object
implements FileContentInfo

The default file content information.

Author:
Commons VFS team

Constructor Summary
DefaultFileContentInfo(java.lang.String contentType, java.lang.String contentEncoding)
           
 
Method Summary
 java.lang.String getContentEncoding()
          the content encoding.
 java.lang.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(java.lang.String contentType,
                              java.lang.String contentEncoding)
Method Detail

getContentType

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

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

getContentEncoding

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

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