|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.javax.sip.Utils
public class Utils
A few utilities that are used in various places by the stack. This is used to convert byte arrays to hex strings etc. Generate tags and branch identifiers and odds and ends.
コンストラクタの概要 | |
---|---|
Utils()
|
メソッドの概要 | |
---|---|
static java.lang.String |
generateBranchId()
Generate a cryptographically random identifier that can be used to generate a branch identifier. |
static java.lang.String |
generateCallIdentifier(java.lang.String address)
Generate a call identifier. |
static java.lang.String |
generateTag()
Generate a tag for a FROM header or TO header. |
static java.lang.String |
getQuotedString(java.lang.String str)
Put quotes around a string and return it. |
static java.lang.String |
toHexString(byte[] b)
convert an array of bytes to an hexadecimal string |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public Utils()
メソッドの詳細 |
---|
public static java.lang.String toHexString(byte[] b)
b
- bytes array to convert to a hexadecimal
string
public static java.lang.String getQuotedString(java.lang.String str)
str
- string to be quoted
public static java.lang.String generateCallIdentifier(java.lang.String address)
public static java.lang.String generateTag()
public static java.lang.String generateBranchId()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |