パッケージ jcifs.ntlmssp.av
クラス AvPairs
- java.lang.Object
-
- jcifs.ntlmssp.av.AvPairs
-
public final class AvPairs extends Object
- 作成者:
- mbechler
-
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 static booleancontains(List<AvPair> pairs, int type)static List<AvPair>decode(byte[] data)Decode a list of AvPairsstatic byte[]encode(List<AvPair> pairs)static AvPairget(List<AvPair> pairs, int type)static voidremove(List<AvPair> pairs, int type)Remove all occurances of the given typestatic voidreplace(List<AvPair> pairs, AvPair rep)Replace all occurances of the given type
-
-
-
メソッドの詳細
-
decode
public static List<AvPair> decode(byte[] data) throws CIFSException
Decode a list of AvPairs- パラメータ:
data-- 戻り値:
- individual pairs
- 例外:
CIFSException
-
contains
public static boolean contains(List<AvPair> pairs, int type)
- パラメータ:
pairs-type-- 戻り値:
- whether the list contains a pair of that type
-
get
public static AvPair get(List<AvPair> pairs, int type)
- パラメータ:
pairs-type-- 戻り値:
- first occurance of the given type
-
remove
public static void remove(List<AvPair> pairs, int type)
Remove all occurances of the given type- パラメータ:
pairs-type-
-
replace
public static void replace(List<AvPair> pairs, AvPair rep)
Replace all occurances of the given type- パラメータ:
pairs-rep-
-
-