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 java.lang.Object
implements FileContentInfo


Field Summary
private  java.lang.String contentEncoding
           
private  java.lang.String contentType
           
 
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
 

Field Detail

contentType

private final java.lang.String contentType

contentEncoding

private final java.lang.String contentEncoding
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

getContentEncoding

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

Specified by:
getContentEncoding in interface FileContentInfo