Package org.apache.commons.vfs.impl
Class DefaultFileContentInfo
- java.lang.Object
-
- org.apache.commons.vfs.impl.DefaultFileContentInfo
-
- All Implemented Interfaces:
FileContentInfo
public class DefaultFileContentInfo extends java.lang.Object implements FileContentInfo
-
-
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.StringgetContentEncoding()the content encodingjava.lang.StringgetContentType()the content type
-
-
-
Method Detail
-
getContentType
public java.lang.String getContentType()
Description copied from interface:FileContentInfothe content type- Specified by:
getContentTypein interfaceFileContentInfo
-
getContentEncoding
public java.lang.String getContentEncoding()
Description copied from interface:FileContentInfothe content encoding- Specified by:
getContentEncodingin interfaceFileContentInfo
-
-