public class PrincipalHelper
extends java.lang.Object
| Constructor and Description |
|---|
PrincipalHelper() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
extract(Any a)
Extract Principal from an any
|
static java.lang.String |
id()
Return the Principal IDL ID
|
static void |
insert(Any a,
byte[] t)
Insert Principal into an any
|
static byte[] |
read(InputStream istream)
Read Principal from a marshalled stream
|
static TypeCode |
type()
Return the Principal TypeCode
|
static void |
write(OutputStream ostream,
byte[] value)
Write Principal into a marshalled stream
|
public static void insert(Any a, byte[] t)
a - an anyt - Principal valuepublic static byte[] extract(Any a)
a - an anypublic static TypeCode type()
public static java.lang.String id()
public static byte[] read(InputStream istream)
istream - the input streampublic static void write(OutputStream ostream, byte[] value)
ostream - the output streamvalue - Principal value