Package org.apache.commons.vfs2.impl
Class DefaultFileContentInfo
- java.lang.Object
-
- org.apache.commons.vfs2.impl.DefaultFileContentInfo
-
- All Implemented Interfaces:
FileContentInfo
public class DefaultFileContentInfo extends java.lang.Object implements FileContentInfo
The default file content information.
-
-
Constructor Summary
Constructors Constructor Description DefaultFileContentInfo(java.lang.String contentType, java.lang.String contentEncoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContentEncoding()
Gets the content encoding.java.lang.String
getContentType()
Gets the content type.
-
-
-
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
Gets the content type.- Specified by:
getContentType
in interfaceFileContentInfo
- Returns:
- The file content type.
-
getContentEncoding
public java.lang.String getContentEncoding()
Description copied from interface:FileContentInfo
Gets the content encoding.- Specified by:
getContentEncoding
in interfaceFileContentInfo
- Returns:
- The file content encoding.
-
-