1.0.0

org.eclipse.soda.dk.data
Class Data

java.lang.Object
  extended by org.eclipse.soda.dk.data.Data

public class Data
extends java.lang.Object

Version:
1.0.0

Constructor Summary
Data()
          Constructor for Data.
 
Method Summary
static int parseInt(java.lang.String string)
          Parse int with the specified string parameter and return the int result.
static int parseInt(java.lang.String string, int start, int length)
          Parse int with the specified string, start and length parameters and return the int result.
static long parseLong(java.lang.String string)
          Parse long with the specified string parameter and return the long result.
static long parseLong(java.lang.String string, int start, int length)
          Parse long with the specified string, start and length parameters and return the long result.
static int parseUint(java.lang.String string, int start, int length)
          Parse uint with the specified string, start and length parameters and return the int result.
static long parseUlong(java.lang.String string, int start, int length)
          Parse ulong with the specified string, start and length parameters and return the long result.
static java.lang.String toString(int value)
          To string with the specified value parameter and return the String result.
static java.lang.String toString(long value)
          To string with the specified value parameter and return the String result.
static java.lang.String toUString(int value)
          To ustring with the specified value parameter and return the String result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Data

public Data()
Constructor for Data.

Method Detail

parseInt

public static int parseInt(java.lang.String string)
                    throws java.lang.RuntimeException
Parse int with the specified string parameter and return the int result.

Parameters:
string - The string (String) parameter.
Returns:
Results of the parse int (int) value.
Throws:
java.lang.RuntimeException - Runtime Exception.
See Also:
parseInt(String,int,int)

parseInt

public static int parseInt(java.lang.String string,
                           int start,
                           int length)
                    throws java.lang.RuntimeException
Parse int with the specified string, start and length parameters and return the int result.

Parameters:
string - The string (String) parameter.
start - The start (int) parameter.
length - The length (int) parameter.
Returns:
Results of the parse int (int) value.
Throws:
java.lang.RuntimeException - Runtime Exception.
See Also:
parseInt(String)

parseLong

public static long parseLong(java.lang.String string)
                      throws java.lang.RuntimeException
Parse long with the specified string parameter and return the long result.

Parameters:
string - The string (String) parameter.
Returns:
Results of the parse long (long) value.
Throws:
java.lang.RuntimeException - Runtime Exception.
See Also:
parseLong(String,int,int)

parseLong

public static long parseLong(java.lang.String string,
                             int start,
                             int length)
                      throws java.lang.RuntimeException
Parse long with the specified string, start and length parameters and return the long result.

Parameters:
string - The string (String) parameter.
start - The start (int) parameter.
length - The length (int) parameter.
Returns:
Results of the parse long (long) value.
Throws:
java.lang.RuntimeException - Runtime Exception.
See Also:
parseLong(String)

parseUint

public static int parseUint(java.lang.String string,
                            int start,
                            int length)
                     throws java.lang.RuntimeException
Parse uint with the specified string, start and length parameters and return the int result.

Parameters:
string - The string (String) parameter.
start - The start (int) parameter.
length - The length (int) parameter.
Returns:
Results of the parse uint (int) value.
Throws:
java.lang.RuntimeException - Runtime Exception.

parseUlong

public static long parseUlong(java.lang.String string,
                              int start,
                              int length)
                       throws java.lang.RuntimeException
Parse ulong with the specified string, start and length parameters and return the long result.

Parameters:
string - The string (String) parameter.
start - The start (int) parameter.
length - The length (int) parameter.
Returns:
Results of the parse ulong (long) value.
Throws:
java.lang.RuntimeException - Runtime Exception.

toString

public static java.lang.String toString(long value)
To string with the specified value parameter and return the String result.

Parameters:
value - The value (long) parameter.
Returns:
Results of the to string (String) value.
See Also:
toString(int), toUString(int)

toString

public static java.lang.String toString(int value)
To string with the specified value parameter and return the String result.

Parameters:
value - The value (int) parameter.
Returns:
Results of the to string (String) value.
See Also:
toString(long), toUString(int)

toUString

public static java.lang.String toUString(int value)
To ustring with the specified value parameter and return the String result.

Parameters:
value - The value (int) parameter.
Returns:
Results of the to ustring (String) value.

1.0.0

Copyright (c) 1999, 2007 IBM