org.databene.text
Class DelocalizingConverter

java.lang.Object
  extended by org.databene.commons.converter.AbstractConverter<S,T>
      extended by org.databene.commons.converter.ThreadSafeConverter<java.lang.String,java.lang.String>
          extended by org.databene.text.DelocalizingConverter
All Implemented Interfaces:
java.lang.Cloneable, Converter<java.lang.String,java.lang.String>, ThreadAware

public class DelocalizingConverter
extends ThreadSafeConverter<java.lang.String,java.lang.String>

Delocalizes a String bye replacing local characters by international latin characters. For example the umlaut 'ä' is replaced with 'ae'.

Created: 12.06.2006 18:53:55

Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.commons.converter.AbstractConverter
sourceType, targetType
 
Constructor Summary
DelocalizingConverter()
          Default constructor
 
Method Summary
 java.lang.String convert(java.lang.String source)
          Implementation of the Converter interface.
 
Methods inherited from class org.databene.commons.converter.ThreadSafeConverter
clone, isParallelizable, isThreadSafe
 
Methods inherited from class org.databene.commons.converter.AbstractConverter
getSourceType, getTargetType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelocalizingConverter

public DelocalizingConverter()
                      throws java.io.IOException
Default constructor

Throws:
java.io.IOException
Method Detail

convert

public java.lang.String convert(java.lang.String source)
Implementation of the Converter interface.

Parameters:
source - the object to convert
Returns:
the converted object
See Also:
Converter


Copyright © 2010. All Rights Reserved.