All Packages Class Hierarchy This Package Previous Next Index
Class cube.tools.Convert
java.lang.Object
|
+----cube.tools.Convert
- public class Convert
- extends Object
A class that provides conversion routines, mostly for use in a database.
For more information on the cube see the cube
Overview.
Copyright © 1997 Curtis E. Dyreson. All rights reserved.
Please be aware of the
Licence
and
Version.
-
Convert()
-
-
save()
-
-
StringToIdMapping(String)
- Add a new mapping to the string to Id tables
-
toId(String)
- Convert a String to an Id by doing a table lookup
-
toString(Id)
- Convert an Id to a String by doing a table lookup
Convert
public Convert()
StringToIdMapping
public static Id StringToIdMapping(String key)
- Add a new mapping to the string to Id tables
- Parameters:
- s - - the string to convert
- Returns:
- - the Id to which it maps
toString
public static String toString(Id key)
- Convert an Id to a String by doing a table lookup
- Parameters:
- key - - the Id to convert
- Returns:
- - the string to which it maps
toId
public static Id toId(String key)
- Convert a String to an Id by doing a table lookup
- Parameters:
- key - - the String to convert
- Returns:
- - the Id to which it maps
save
public static void save()
All Packages Class Hierarchy This Package Previous Next Index