org.apache.commons.vfs2.impl
Class DefaultFileContentInfo
java.lang.Object
org.apache.commons.vfs2.impl.DefaultFileContentInfo
- All Implemented Interfaces:
- FileContentInfo
public class DefaultFileContentInfo
- extends Object
- implements FileContentInfo
The default file content information.
- Author:
- Commons VFS team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFileContentInfo
public DefaultFileContentInfo(String contentType,
String contentEncoding)
getContentType
public String getContentType()
- Description copied from interface:
FileContentInfo
- the content type.
- Specified by:
getContentType
in interface FileContentInfo
- Returns:
- The file content type.
getContentEncoding
public String getContentEncoding()
- Description copied from interface:
FileContentInfo
- the content encoding.
- Specified by:
getContentEncoding
in interface FileContentInfo
- Returns:
- The file content encoding.
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.