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 Summary
ConstructorsConstructorDescriptionDefaultFileContentInfo(String contentType, String contentEncoding) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the content encoding.Gets the content type.
-
Constructor Details
-
DefaultFileContentInfo
Constructs a new instance.- Parameters:
contentType- A content type.contentEncoding- A content encoding.
-
-
Method Details
-
getContentEncoding
Description copied from interface:FileContentInfoGets the content encoding.- Specified by:
getContentEncodingin interfaceFileContentInfo- Returns:
- The file content encoding.
-
getContentType
Description copied from interface:FileContentInfoGets the content type.- Specified by:
getContentTypein interfaceFileContentInfo- Returns:
- The file content type.
-