mx.udlap.kjProtocol.packets
Class KUUID

java.lang.Object
  extended bymx.udlap.kjProtocol.packets.KString
      extended bymx.udlap.kjProtocol.packets.KUUID

public class KUUID
extends KString

Contains a Universal Unique IDentifier

Author:
Oscar Medina Duarte

Field Summary
 
Fields inherited from class mx.udlap.kjProtocol.packets.KString
length, value
 
Constructor Summary
KUUID()
          Constructor for the KUUID object
KUUID(byte[] value)
          Constructor for the KUUID object
KUUID(java.lang.String value)
          Constructor for the KUUID object
 
Method Summary
static void main(java.lang.String[] args)
          Testing method
 
Methods inherited from class mx.udlap.kjProtocol.packets.KString
getBytes, getLength, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KUUID

public KUUID(java.lang.String value)
Constructor for the KUUID object

Parameters:
value - String representation of a UUID

KUUID

public KUUID(byte[] value)
Constructor for the KUUID object

Parameters:
value - Byte array of a string representation of the UUID

KUUID

public KUUID()
Constructor for the KUUID object

Method Detail

main

public static void main(java.lang.String[] args)
Testing method

Parameters:
args - Description of the Parameter