org.apache.commons.convert
Class NetConverters

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

public class NetConverters
extends Object
implements ConverterLoader

java.net Converter classes.


Nested Class Summary
static class NetConverters.InetAddressToString
          An object that converts an InetAddress to a String.
static class NetConverters.StringToInetAddress
          An object that converts a String to an InetAddress.
static class NetConverters.StringToURI
          An object that converts a String to a URI.
static class NetConverters.StringToURL
          An object that converts a String to a URL.
static class NetConverters.URIToURL
          An object that converts a URI to a URL.
static class NetConverters.URLToURI
          An object that converts a URL to a URI.
 
Constructor Summary
NetConverters()
           
 
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

NetConverters

public NetConverters()
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.