org.apache.commons.convert
Class MiscConverters

java.lang.Object
  extended by org.apache.commons.convert.MiscConverters
All Implemented Interfaces:
ConverterLoader

public class MiscConverters
extends Object
implements ConverterLoader

Miscellaneous Converter classes.


Nested Class Summary
static class MiscConverters.BlobToByteArray
          An object that converts a java.sql.Blob to a byte array.
static class MiscConverters.ByteArrayToByteBuffer
          An object that converts a byte array to a ByteBuffer.
static class MiscConverters.ByteBufferToByteArray
          An object that converts a ByteBuffer to a byte array.
static class MiscConverters.CharsetToString
          An object that converts a Charset to a character set name String.
static class MiscConverters.ClobToString
          An object that converts a java.sql.Clob to a String.
static class MiscConverters.DecimalFormatToString
          An object that converts a DecimalFormat to a format pattern String.
static class MiscConverters.EnumToString
           
static class MiscConverters.NotAConverter
          A class used for testing ConverterLoader implementations.
static class MiscConverters.SimpleDateFormatToString
          An object that converts a SimpleDateFormat to a format pattern String.
static class MiscConverters.StringToCharset
          An object that converts a character set name String to a Charset.
static class MiscConverters.StringToDecimalFormat
          An object that converts a format pattern String to a DecimalFormat.
static class MiscConverters.StringToEnumConverterCreator
           
static class MiscConverters.StringToLocale
          An object that converts a Locale ID String to a Locale.
static class MiscConverters.StringToRegexPattern
          An object that converts a pattern String to a Pattern.
static class MiscConverters.StringToSimpleDateFormat
          An object that converts a format String to a SimpleDateFormat.
static class MiscConverters.StringToUUID
          An object that converts a UUID String to a UUID.
 
Constructor Summary
MiscConverters()
           
 
Method Summary
 void loadConverters()
          Create and register converters with the Java object type conversion framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiscConverters

public MiscConverters()
Method Detail

loadConverters

public void loadConverters()
Description copied from interface: ConverterLoader
Create and register converters with the Java object type conversion framework. If the converter extends one of the converter abstract classes, then the converter will register itself when an instance is created. Otherwise, call Converters.registerConverter(Converter) with the Converter instance.

Specified by:
loadConverters in interface ConverterLoader


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.