|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CosNaming.IstringHelper
public abstract class IstringHelper
"Istring" was a "placeholder for a future IDL internationalized string data type" in the original specification. It is maintained solely for compatibility reasons. In both java and CORBA, Istring is now identical to the narrow (not wide) string and needs no helper. This class is implemented just for compatibility reasons.
Constructor Summary | |
---|---|
IstringHelper()
|
Method Summary | |
---|---|
static String |
extract(Any a)
Extract the IString from Any ((uses Any.extract_string() ). |
static String |
id()
Return the IString repository id. |
static void |
insert(Any a,
String that)
Insert the IString into Any (uses Any.insert_string(java.lang.String) ). |
static String |
read(InputStream istream)
Calls InputStream.read_string() . |
static TypeCode |
type()
Return an alias typecode. |
static void |
write(OutputStream ostream,
String value)
Calls OutputStream.write_string(String) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IstringHelper()
Method Detail |
---|
public static void insert(Any a, String that)
Any.insert_string(java.lang.String)
).
a
- the Any to insert into.that
- the string to insert.public static String extract(Any a)
Any.extract_string()
).
a
- the Any to extract from.public static TypeCode type()
public static String id()
public static String read(InputStream istream)
InputStream.read_string()
.
istream
- the stream to read from.public static void write(OutputStream ostream, String value)
OutputStream.write_string(String)
.
ostream
- the stream to write into.value
- the string (IString) value to write.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |