org.databene.commons.converter
Class UniqueStringConverter
java.lang.Object
org.databene.commons.converter.AbstractConverter<java.lang.String,java.lang.String>
org.databene.commons.converter.UniqueStringConverter
- All Implemented Interfaces:
- Converter<java.lang.String,java.lang.String>, ThreadAware
public class UniqueStringConverter
- extends AbstractConverter<java.lang.String,java.lang.String>
Assures uniqueness for all processed Strings by appending unique numbers to recurring instances.
Created: 24.06.2008 19:41:08
- Since:
- 0.4.4
- Author:
- Volker Bergmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniqueStringConverter
public UniqueStringConverter()
convert
public java.lang.String convert(java.lang.String sourceValue)
throws ConversionException
- Description copied from interface:
Converter
- Concerts an object of type S to an object of type T
- Parameters:
sourceValue - the object to convert
- Returns:
- the converted object
- Throws:
ConversionException - if the conversion fails
isParallelizable
public boolean isParallelizable()
isThreadSafe
public boolean isThreadSafe()
Copyright © 2010. All Rights Reserved.