Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.bluej.core
Class DataElementUtils  view DataElementUtils download DataElementUtils.java

java.lang.Object
  extended byorg.bluej.core.DataElement
      extended byorg.bluej.core.DataElementUtils

public class DataElementUtils
extends DataElement


Nested Class Summary
(package private) static class DataElementUtils.byteScan
           
 
Nested classes inherited from class org.bluej.core.DataElement
DataElement.List, DataElement.ListScanner
 
Field Summary
(package private) static java.lang.String indent
           
 
Fields inherited from class org.bluej.core.DataElement
BOOL, DATALT, DATSEQ, INT_1, INT_16, INT_2, INT_4, INT_8, NULL, STRING, type, U_INT_1, U_INT_16, U_INT_2, U_INT_4, U_INT_8, URL, UUID, val
 
Constructor Summary
DataElementUtils(boolean bool)
           
DataElementUtils(DataElement elem)
           
DataElementUtils(int valueType)
           
DataElementUtils(int valueType, long value)
           
DataElementUtils(int valueType, java.lang.Object value)
           
 
Method Summary
 byte[] getBytes()
           
 int getSizeInBytes()
           
 int layoutBytes(byte[] buf, int pos)
           
(package private) static void output(java.lang.String msg)
           
static DataElement readDataElement(byte[] buf, int start, int length)
           
(package private) static DataElement readDataElement(DataElementUtils.byteScan scan)
           
 
Methods inherited from class org.bluej.core.DataElement
addElement, getBoolean, getDataType, getLong, getSize, getValue, insertElementAt, removeElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indent

static java.lang.String indent
Constructor Detail

DataElementUtils

public DataElementUtils(int valueType)

DataElementUtils

public DataElementUtils(boolean bool)

DataElementUtils

public DataElementUtils(int valueType,
                        long value)

DataElementUtils

public DataElementUtils(int valueType,
                        java.lang.Object value)

DataElementUtils

public DataElementUtils(DataElement elem)
Method Detail

getBytes

public byte[] getBytes()

getSizeInBytes

public int getSizeInBytes()

layoutBytes

public int layoutBytes(byte[] buf,
                       int pos)

readDataElement

static DataElement readDataElement(DataElementUtils.byteScan scan)

readDataElement

public static DataElement readDataElement(byte[] buf,
                                          int start,
                                          int length)

output

static void output(java.lang.String msg)