com.intel.bluetooth
Class Utils

java.lang.Object
  extended by com.intel.bluetooth.Utils

public abstract class Utils
extends Object

Conversion and JVM compatibility functions.

Your application should not use this class directly.


Method Summary
static byte[] clone(byte[] value)
          Modifying the returned Object will not change the internal representation of the object.
static Vector clone(Enumeration en)
           
static void isLegalAPICall(Vector fqcnSet)
           
static int securityOpt(boolean authenticate, boolean encrypt)
           
static String toHexString(long l)
          J2ME/J9 compatibility instead of Long.toHexString
static String UUIDByteArrayToString(byte[] uuidValue)
           
static byte[] UUIDToByteArray(String uuidStringValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

UUIDToByteArray

public static byte[] UUIDToByteArray(String uuidStringValue)

UUIDByteArrayToString

public static String UUIDByteArrayToString(byte[] uuidValue)

securityOpt

public static int securityOpt(boolean authenticate,
                              boolean encrypt)

clone

public static byte[] clone(byte[] value)
Modifying the returned Object will not change the internal representation of the object.

Parameters:
value -
Returns:
a clone of the array

clone

public static Vector clone(Enumeration en)

toHexString

public static String toHexString(long l)
J2ME/J9 compatibility instead of Long.toHexString


isLegalAPICall

public static void isLegalAPICall(Vector fqcnSet)
                           throws Error
Throws:
Error


JSR-82 Javadocs Apache License, Version 2.0 Copyright © 2001-2008 Motorola, Inc. ALL RIGHTS RESERVED.
BlueCove Javadocs
Apache License, Version 2.0 Copyright © 2004-2008 BlueCove Team.