All Packages Class Hierarchy This Package Previous Next Index
Class cube.database.StringCol
java.lang.Object
|
+----cube.database.StringCol
- public class StringCol
- extends Object
This class encapsulates a String Column 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.
- See Also:
- Table, Tuple
-
value
-
-
StringCol(byte[])
- Construct a StringCol from a byte Array
-
StringCol(String)
- Construct a StringCol from a String.
-
toBytes()
- Construct a byte array from this string
-
toRealString()
- Return the string value for this column
value
protected String value
StringCol
public StringCol(String value)
- Construct a StringCol from a String.
- Parameters:
- value - - the string
StringCol
public StringCol(byte valueAsBytes[])
- Construct a StringCol from a byte Array
- Parameters:
- b - - a byte array that better represent a String!
toRealString
public String toRealString()
- Return the string value for this column
- Returns:
- - the string
toBytes
public byte[] toBytes()
- Construct a byte array from this string
All Packages Class Hierarchy This Package Previous Next Index