org.openprivacy.reptile
Class ContentTransformerMap

java.lang.Object
  |
  +--org.openprivacy.reptile.ContentTransformerMap

public class ContentTransformerMap
extends java.lang.Object

Version:
$Id: ContentTransformerMap.java,v 1.4 2002/02/27 10:33:04 burton Exp $
Author:
Kevin A. Burton

Constructor Summary
ContentTransformerMap()
          Create a new ContentTransformerMap instance.
 
Method Summary
static ContentTransformerMap getInstance()
          Get an instance of the ContentTransformerMap.
 boolean isPreferredContentType(java.lang.String contentType)
          Return the preferred contentType.
 boolean isSupportedContentType(java.lang.String contentType)
          Return true if this content type is supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTransformerMap

public ContentTransformerMap()
Create a new ContentTransformerMap instance.

Method Detail

isSupportedContentType

public boolean isSupportedContentType(java.lang.String contentType)
Return true if this content type is supported.


isPreferredContentType

public boolean isPreferredContentType(java.lang.String contentType)
Return the preferred contentType. If we have content which provides multiple formats, use this first.


getInstance

public static ContentTransformerMap getInstance()
Get an instance of the ContentTransformerMap.