org.omg.IOP
Class EncodingHelper
java.lang.Object
|
+--org.omg.IOP.EncodingHelper
- public class EncodingHelper
- extends java.lang.Object
Helper class for : Encoding
- Author:
- OpenORB Compiler
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncodingHelper
public EncodingHelper()
insert
public static void insert(Any a,
Encoding t)
- Insert Encoding into an any
- Parameters:
a
- an anyt
- Encoding value
extract
public static Encoding extract(Any a)
- Extract Encoding from an any
- Parameters:
a
- an any- Returns:
- the extracted Encoding value
type
public static TypeCode type()
- Return the Encoding TypeCode
- Returns:
- a TypeCode
id
public static java.lang.String id()
- Return the Encoding IDL ID
- Returns:
- an ID
read
public static Encoding read(InputStream istream)
- Read Encoding from a marshalled stream
- Parameters:
istream
- the input stream- Returns:
- the readed Encoding value
write
public static void write(OutputStream ostream,
Encoding value)
- Write Encoding into a marshalled stream
- Parameters:
ostream
- the output streamvalue
- Encoding value