org.apache.geronimo.system.configuration
Class SieveEncodingInfo

java.lang.Object
  extended by org.apache.geronimo.system.configuration.EncodingInfo
      extended by org.apache.geronimo.system.configuration.SieveEncodingInfo

public class SieveEncodingInfo
extends EncodingInfo

This class represents an encoding.


Constructor Summary
SieveEncodingInfo(String mimeName, int lastPrintable)
          Creates new SeiveEncodingInfo instance.
SieveEncodingInfo(String mimeName, String javaName, int lastPrintable, String dangers)
          Creates new SeiveEncodingInfo instance.
 
Method Summary
 boolean isPrintable(int ch)
          Checks whether the specified character is printable or not.
 
Methods inherited from class org.apache.geronimo.system.configuration.EncodingInfo
getName, getWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SieveEncodingInfo

public SieveEncodingInfo(String mimeName,
                         String javaName,
                         int lastPrintable,
                         String dangers)
Creates new SeiveEncodingInfo instance.

Parameters:
dangers - A sorted characters that are always printed as character references.

SieveEncodingInfo

public SieveEncodingInfo(String mimeName,
                         int lastPrintable)
Creates new SeiveEncodingInfo instance.

Method Detail

isPrintable

public boolean isPrintable(int ch)
Checks whether the specified character is printable or not.

Overrides:
isPrintable in class EncodingInfo
Parameters:
ch - a code point (0-0x10ffff)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.