public class CodecHelper
extends java.lang.Object
| Constructor and Description |
|---|
CodecHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Codec |
extract(Any a)
Extract Codec from an any
|
static java.lang.String |
id()
Return the Codec IDL ID
|
static void |
insert(Any a,
Codec t)
Insert Codec into an any
|
static Codec |
narrow(Object obj)
Narrow CORBA::Object to Codec
|
static Codec |
read(InputStream istream)
Read Codec from a marshalled stream
|
static TypeCode |
type()
Return the Codec TypeCode
|
static Codec |
unchecked_narrow(Object obj)
Unchecked Narrow CORBA::Object to Codec
|
static void |
write(OutputStream ostream,
Codec value)
Write Codec into a marshalled stream
|
public static void insert(Any a, Codec t)
a - an anyt - Codec valuepublic static Codec extract(Any a)
a - an anypublic static TypeCode type()
public static java.lang.String id()
public static Codec read(InputStream istream)
istream - the input streampublic static void write(OutputStream ostream, Codec value)
ostream - the output streamvalue - Codec valuepublic static Codec narrow(Object obj)
obj - the CORBA Object