jain.protocol.ss7
Class JainSS7Utility

java.lang.Object
  |
  +--jain.protocol.ss7.JainSS7Utility

public class JainSS7Utility
extends java.lang.Object


Constructor Summary
JainSS7Utility()
           
 
Method Summary
static byte[] bytesToHex(byte[] data, int start, int end)
          Convert an array of bytes to String with hex values.
static java.util.Vector objectArrayToVector(java.lang.Object[] objectArray)
          Returns a Vector of Objects, were each Object is a specific element of the Vector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JainSS7Utility

public JainSS7Utility()
Method Detail

bytesToHex

public static byte[] bytesToHex(byte[] data,
                                int start,
                                int end)
Convert an array of bytes to String with hex values.
Parameters:
data - A byte array.
start - The start in data from where to convert.
end - The end in data.
Returns:
A byte sequence ready to convert to a String, i.e:
new String(bytesToHex(data, 0, len)) 

objectArrayToVector

public static java.util.Vector objectArrayToVector(java.lang.Object[] objectArray)
Returns a Vector of Objects, were each Object is a specific element of the Vector.
Throws:
NullPointerException - if the supplied objectArray is null


06 January 2000
If you have any comments or queries, please mail them to Colm Hayden [JAIN SS7 OAM Edit Lead]

Copyright - 2000 Sun Microsystems