com.systronix.util
Class Util
java.lang.Object
|
+--com.systronix.util.Util
- public class Util
- extends java.lang.Object
Title: Generic Utilities Package
Description: Generic utilities package, not specific to any hardware. Useable on J2ME/CLDC as the lowest edition.
Copyright: Copyright (c) 2002 Systronix
Company: Systronix
- Version:
- 1.0 copied from package com.systronix.tini, changed to package com.systronix.util
to be part of a new generic util library usable on J2ME/CLDC and greater editions.
- Author:
- bboyes
|
Constructor Summary |
Util()
|
|
Method Summary |
static void |
display(byte[] data,
int len)
from Jac Kersing
converts a byte array len elements long to hex representation in a string
This could actually be a generic java routine |
static java.lang.String |
toHex(byte b)
returns a string of hex representation when given a single byte value |
static void |
waitWhile(long howLong)
wait howLong number of milliseconds |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
waitWhile
public static void waitWhile(long howLong)
- wait howLong number of milliseconds
display
public static void display(byte[] data,
int len)
- from Jac Kersing
converts a byte array len elements long to hex representation in a string
This could actually be a generic java routine
toHex
public static java.lang.String toHex(byte b)
- returns a string of hex representation when given a single byte value