Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.vfs.impl
Class DefaultFileContentInfo

    java.lang.Object
      org.apache.commons.vfs.impl.DefaultFileContentInfo

All Implemented Interfaces:
  FileContentInfo

public class DefaultFileContentInfo
extends Object
implements FileContentInfo

Constructor Summary
`DefaultFileContentInfo(String contentType, String contentEncoding)`

Method Summary
`String` | `getContentEncoding()` the content encoding
`String` | `getContentType()` the content type

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultFileContentInfo

    public DefaultFileContentInfo(String contentType,
                                  String contentEncoding)

Method Detail

### getContentType

    public String getContentType()

  Description copied from interface: `FileContentInfo`
  the content type

  Specified by:
    `getContentType` in interface `FileContentInfo`

### getContentEncoding

    public String getContentEncoding()

  Description copied from interface: `FileContentInfo`
  the content encoding

  Specified by:
    `getContentEncoding` in interface `FileContentInfo`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.