java.lang.Objectjava.io.OutputStream
org.omg.CORBA.portable.OutputStream
public abstract class OutputStream
OuputStream is the Java API for writing IDL types
to CDR marshal streams. These methods are used by the ORB to
marshal IDL types as well as to insert IDL types into Anys.
The _array versions of the methods can be directly
used to write sequences and arrays of IDL types.
| Constructor Summary | |
|---|---|
OutputStream()
|
|
| Method Summary | |
|---|---|
abstract InputStream |
create_input_stream()
Returns an input stream with the same buffer. |
ORB |
orb()
Returns the ORB that created this OutputStream. |
abstract void |
write_any(Any value)
Writes an Any on this output stream. |
abstract void |
write_boolean_array(boolean[] value,
int offset,
int length)
Writes an array of booleans on this output stream. |
abstract void |
write_boolean(boolean value)
Writes a boolean value to this stream. |
abstract void |
write_char_array(char[] value,
int offset,
int length)
Writes an array of chars on this output stream. |
abstract void |
write_char(char value)
Writes a char value to this stream. |
void |
write_Context(Context ctx,
ContextList contexts)
Writes a CORBA context on this stream. |
abstract void |
write_double_array(double[] value,
int offset,
int length)
Writes an array of doubles on this output stream. |
abstract void |
write_double(double value)
Writes a double value to this stream. |
void |
write_fixed(BigDecimal value)
Writes a BigDecimal number. |
abstract void |
write_float_array(float[] value,
int offset,
int length)
Writes an array of floats on this output stream. |
abstract void |
write_float(float value)
Writes a float value to this stream. |
abstract void |
write_long_array(int[] value,
int offset,
int length)
Writes an array of CORBA longs (i.e. |
abstract void |
write_long(int value)
Writes a CORBA long (i.e. |
abstract void |
write_longlong_array(long[] value,
int offset,
int length)
Writes an array of CORBA longlongs (i.e. |
abstract void |
write_longlong(long value)
Writes a CORBA longlong (i.e. |
abstract void |
write_Object(Object value)
Writes a CORBA Object on this output stream. |
abstract void |
write_octet_array(byte[] value,
int offset,
int length)
Writes an array of CORBA octets (bytes) on this output stream. |
abstract void |
write_octet(byte value)
Writes a CORBA octet (i.e. |
void |
write_Principal(Principal value)
Deprecated. Deprecated by CORBA 2.2. |
abstract void |
write_short_array(short[] value,
int offset,
int length)
Writes an array of shorts on this output stream. |
abstract void |
write_short(short value)
Writes a short value to this stream. |
abstract void |
write_string(String value)
Writes a string value to this stream. |
abstract void |
write_TypeCode(TypeCode value)
Writes a TypeCode on this output stream. |
abstract void |
write_ulong_array(int[] value,
int offset,
int length)
Writes an array of unsigned CORBA longs (i.e. |
abstract void |
write_ulong(int value)
Writes an unsigned CORBA long (i.e. |
abstract void |
write_ulonglong_array(long[] value,
int offset,
int length)
Writes an array of unsigned CORBA longlongs (i.e. |
abstract void |
write_ulonglong(long value)
Writes an unsigned CORBA longlong (i.e. |
abstract void |
write_ushort_array(short[] value,
int offset,
int length)
Writes an array of unsigned shorts on this output stream. |
abstract void |
write_ushort(short value)
Writes an unsigned short value to this stream. |
abstract void |
write_wchar_array(char[] value,
int offset,
int length)
Writes an array of wide chars on this output stream. |
abstract void |
write_wchar(char value)
Writes a wide char value to this stream. |
abstract void |
write_wstring(String value)
Writes a wide string value to this stream. |
void |
write(int b)
Writes an integer (length of arrays) onto this stream. |
| Methods inherited from class java.io.OutputStream |
|---|
close, flush, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutputStream()
| Method Detail |
|---|
public abstract InputStream create_input_stream()
public abstract void write_boolean(boolean value)
value - the value to be written.public abstract void write_char(char value)
value - the value to be written.public abstract void write_wchar(char value)
value - the value to be written.public abstract void write_octet(byte value)
value - the value to be written.public abstract void write_short(short value)
value - the value to be written.public abstract void write_ushort(short value)
value - the value to be written.public abstract void write_long(int value)
value - the value to be written.public abstract void write_ulong(int value)
value - the value to be written.public abstract void write_longlong(long value)
value - the value to be written.public abstract void write_ulonglong(long value)
value - the value to be written.public abstract void write_float(float value)
value - the value to be written.public abstract void write_double(double value)
value - the value to be written.public abstract void write_string(String value)
value - the value to be written.public abstract void write_wstring(String value)
value - the value to be written.
public abstract void write_boolean_array(boolean[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.
public abstract void write_char_array(char[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.
public abstract void write_wchar_array(char[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.
public abstract void write_octet_array(byte[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.
public abstract void write_short_array(short[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.
public abstract void write_ushort_array(short[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.
public abstract void write_long_array(int[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.
public abstract void write_ulong_array(int[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.
public abstract void write_longlong_array(long[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.
public abstract void write_ulonglong_array(long[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.
public abstract void write_float_array(float[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.
public abstract void write_double_array(double[] value,
int offset,
int length)
value - the array to be written.offset - offset on the stream.length - length of buffer to write.public abstract void write_Object(Object value)
value - the value to be written.public abstract void write_TypeCode(TypeCode value)
value - the value to be written.public abstract void write_any(Any value)
value - the value to be written.@Deprecated public void write_Principal(Principal value)
value - the value to be written.
public void write(int b)
throws IOException
write in class OutputStreamb - the value to be written.
IOException - if there is an input/output errorportable
package comments for unimplemented featurespublic void write_fixed(BigDecimal value)
value - a BidDecimal--value to be written.public void write_Context(Context ctx, ContextList contexts)
ctx - a CORBA contextcontexts - a ContextList object containing the list of contexts
to be writtenportable
package comments for unimplemented featurespublic ORB orb()
portable
package comments for unimplemented featuresCes informations proviennent du site de http://java.sun.com
Le contenu de cette page provient du site de Sun, et est généré depuis un cache sur l'infobrol après certains traitements automatisés. La présentation peut donc différer du document original, mais le contenu aussi. Vous pouvez utiliser ce bouton pour afficher la page originale du site de Sun :
Maintenir les pages en cache sur différents sites peut offrir plus de disponibilité.
Chaque page est indexée dans la base de donnée, ce qui permet de retrouver facilement les informations, au moyen des sommaires, du moteur de recherche interne, etc.
Des facilités sont mises en place pour que les membres de l'infobrol puissent effectuer des traductions en français des différents documents. Ceci devrait permettre aux débutants en programmation Java de consulter les API en français s'ils maîtrisent moins bien la langue de Shakespeare. Dans le cas où une traduction a été soumise, elle est disponible au moyen d'un lien en bas de page. Si la traduction a été validée, la page s'affiche par défaut en français, et un lien en bas de page permet d'atteindre la version en anglais.
Le code sur l'infobrol est automatiquement coloré selon la syntaxe, et les différents mots clés sont transformés en liens pour accéder rapidement aux informations.
Vous avez la possibilité de partager vos expériences en proposant vos propres extraits de code en utilisant le bouton "ajouter un commentaire" en bas de page. Si vous visitez simplement l'infobrol, vous avez déjà accès à cette fonction, mais si vous étes membre du brol, vous pouvez en plus utiliser des boutons supplémentaires de mise en forme, dont la coloration automatique de vos extraits de codes.
Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher les interactions avec les réseaux sociaux sur ces pages.
8 mots clés dont 0 définis manuellement (plus d'information...).
Avertissement
Cette page ne possède pas encore de mots clés manuels, ceci est donc un exemple automatique (les niveaux de pertinence sont fictifs, mais les liens sont valables). Pour tester le nuage avec une page qui contient des mots définis manuellement, vous pouvez cliquer ici.Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher le nuage de mots clés.
Recherche (afficher)
Utilisateur (masquer)
Navigation (masquer)
Apparence (afficher)
Stats (afficher)
Citation (masquer)