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.String
getContentEncoding()
the content encodingjava.lang.String
getContentType()
the content type
-
-
-
Method Detail
-
getContentType
public java.lang.String getContentType()
Description copied from interface:FileContentInfo
the content type- Specified by:
getContentType
in interfaceFileContentInfo
-
getContentEncoding
public java.lang.String getContentEncoding()
Description copied from interface:FileContentInfo
the content encoding- Specified by:
getContentEncoding
in interfaceFileContentInfo
-
-