|
|||||||||
| Home >> All >> net >> jxta >> ext >> [ config overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
net.jxta.ext.config
Class Conversion

java.lang.Objectnet.jxta.ext.config.Conversion
- public class Conversion
- extends java.lang.Object
- Version:
- $Id: Conversion.java,v 1.12 2004/07/31 07:44:33 gonzo Exp $
| Field Summary | |
private static java.lang.String |
BOGUS
|
private static char |
COLON
|
private static java.lang.String |
ENCODING_UTF8
|
private static char[] |
ESCAPE
|
private static char |
PERCENT
|
private static char |
SLASH
|
private static java.lang.String |
URI_FILE
|
| Constructor Summary | |
Conversion()
|
|
| Method Summary | |
static boolean |
toBoolean(java.lang.String s)
Description of the Method |
static char |
toChar(java.lang.String s)
Description of the Method |
static java.lang.Class |
toClass(java.lang.String s)
Description of the Method |
static java.util.List |
toClasses(java.util.List l)
Description of the Method |
static java.awt.Color |
toColor(java.lang.String s)
Description of the Method |
static java.io.File |
toFile(java.net.URI u)
Description of the Method |
static float |
toFloat(java.lang.String s)
Description of the Method |
static int |
toInt(java.lang.String s)
Description of the Method |
static long |
toLong(java.lang.String s)
Description of the Method |
static java.net.URI |
toURI(java.lang.String s)
Description of the Method |
static java.util.List |
toURIs(java.util.List l)
Description of the Method |
static java.net.URL |
toURL(java.io.File f)
Description of the Method |
static java.net.URL |
toURL(java.lang.String s)
Description of the Method |
static java.util.List |
toURLs(java.util.List l)
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
BOGUS
private static final java.lang.String BOGUS
- See Also:
- Constant Field Values
SLASH
private static final char SLASH
- See Also:
- Constant Field Values
PERCENT
private static final char PERCENT
- See Also:
- Constant Field Values
COLON
private static final char COLON
- See Also:
- Constant Field Values
ESCAPE
private static final char[] ESCAPE
ENCODING_UTF8
private static final java.lang.String ENCODING_UTF8
- See Also:
- Constant Field Values
URI_FILE
private static final java.lang.String URI_FILE
- See Also:
- Constant Field Values
| Constructor Detail |
Conversion
public Conversion()
| Method Detail |
toChar
public static char toChar(java.lang.String s) throws ConversionException
- Description of the Method
toInt
public static int toInt(java.lang.String s) throws ConversionException
- Description of the Method
toLong
public static long toLong(java.lang.String s) throws ConversionException
- Description of the Method
toFloat
public static float toFloat(java.lang.String s) throws ConversionException
- Description of the Method
toBoolean
public static boolean toBoolean(java.lang.String s)
- Description of the Method
toURL
public static java.net.URL toURL(java.lang.String s) throws ConversionException
- Description of the Method
toURL
public static java.net.URL toURL(java.io.File f) throws ConversionException
- Description of the Method
toURLs
public static java.util.List toURLs(java.util.List l) throws ConversionException
- Description of the Method
toURI
public static java.net.URI toURI(java.lang.String s) throws ConversionException
- Description of the Method
toURIs
public static java.util.List toURIs(java.util.List l) throws ConversionException
- Description of the Method
toFile
public static java.io.File toFile(java.net.URI u) throws ConversionException
- Description of the Method
toColor
public static java.awt.Color toColor(java.lang.String s) throws ConversionException
- Description of the Method
toClass
public static java.lang.Class toClass(java.lang.String s) throws ConversionException
- Description of the Method
toClasses
public static java.util.List toClasses(java.util.List l) throws ConversionException
- Description of the Method
|
|||||||||
| Home >> All >> net >> jxta >> ext >> [ config overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
net.jxta.ext.config.Conversion