Package org.apache.commons.vfs2.impl
Class DefaultFileContentInfo
java.lang.Object
org.apache.commons.vfs2.impl.DefaultFileContentInfo
- All Implemented Interfaces:
- FileContentInfo
The default file content information.
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultFileContentInfo(String contentType, String contentEncoding) Constructs a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionGets the content encoding.Gets the content type.
- 
Constructor Details- 
DefaultFileContentInfoConstructs a new instance.- Parameters:
- contentType- A content type.
- contentEncoding- A content encoding.
 
 
- 
- 
Method Details- 
getContentEncodingDescription copied from interface:FileContentInfoGets the content encoding.- Specified by:
- getContentEncodingin interface- FileContentInfo
- Returns:
- The file content encoding.
 
- 
getContentTypeDescription copied from interface:FileContentInfoGets the content type.- Specified by:
- getContentTypein interface- FileContentInfo
- Returns:
- The file content type.
 
 
-