API java : DataOutputStream


org.omg.CORBA
Interface DataOutputStream

All Superinterfaces:
IDLEntity, Serializable, ValueBase

public interface DataOutputStream
extends ValueBase

Defines the methods used to write primitive data types to output streams for marshalling custom value types. This interface is used by user written custom marshalling code for custom value types.

See Also:
DataInputStream, CustomMarshal

Method Summary
 void write_Abstract(Object value)
          Writes the IDL Abstract interface type to the output stream.
 void write_any_array(Any[] seq, int offset, int length)
          Writes the array of IDL Anys from offset for length elements to the output stream.
 void write_any(Any value)
          Writes the Any value to the output stream.
 void write_boolean_array(boolean[] seq, int offset, int length)
          Writes the array of IDL booleans from offset for length elements to the output stream.
 void write_boolean(boolean value)
          Writes the boolean value to the output stream.
 void write_char_array(char[] seq, int offset, int length)
          Writes the array of IDL characters from offset for length elements to the output stream.
 void write_char(char value)
          Writes the IDL character value to the output stream.
 void write_double_array(double[] seq, int offset, int length)
          Writes the array of IDL doubles from offset for length elements to the output stream.
 void write_double(double value)
          Writes the IDL double value to the output stream.
 void write_float_array(float[] seq, int offset, int length)
          Writes the array of IDL floats from offset for length elements to the output stream.
 void write_float(float value)
          Writes the IDL float value to the output stream.
 void write_long_array(int[] seq, int offset, int length)
          Writes the array of IDL longs from offset for length elements to the output stream.
 void write_long(int value)
          Writes the IDL long value (represented as a Java int) to the output stream.
 void write_longlong_array(long[] seq, int offset, int length)
          Writes the array of IDL long longs from offset for length elements to the output stream.
 void write_longlong(long value)
          Writes the IDL long long value (represented as a Java long) to the output stream.
 void write_Object(Object value)
          Writes the IDL CORBA::Object value to the output stream.
 void write_octet_array(byte[] seq, int offset, int length)
          Writes the array of IDL octets from offset for length elements to the output stream.
 void write_octet(byte value)
          Writes the IDL octet value (represented as a Java byte) to the output stream.
 void write_short_array(short[] seq, int offset, int length)
          Writes the array of IDL shorts from offset for length elements to the output stream.
 void write_short(short value)
          Writes the IDL short value to the output stream.
 void write_string(String value)
          Writes the IDL string value to the output stream.
 void write_TypeCode(TypeCode value)
          Writes the typecode to the output stream.
 void write_ulong_array(int[] seq, int offset, int length)
          Writes the array of IDL unsigned longs (represented as Java ints) from offset for length elements to the output stream.
 void write_ulong(int value)
          Writes the IDL unsigned long value (represented as a Java int) to the output stream.
 void write_ulonglong_array(long[] seq, int offset, int length)
          Writes the array of IDL unsigned long longs (represented as Java longs) from offset for length elements to the output stream.
 void write_ulonglong(long value)
          Writes the IDL unsigned long long value (represented as a Java long) to the output stream.
 void write_ushort_array(short[] seq, int offset, int length)
          Writes the array of IDL unsigned shorts (represented as Java shorts) from offset for length elements to the output stream.
 void write_ushort(short value)
          Writes the IDL unsigned short value (represented as a Java short value) to the output stream.
 void write_Value(Serializable value)
          Writes the IDL value type value to the output stream.
 void write_wchar_array(char[] seq, int offset, int length)
          Writes the array of IDL wide characters from offset for length elements to the output stream.
 void write_wchar(char value)
          Writes the IDL wide character value to the output stream.
 void write_wstring(String value)
          Writes the IDL wide string value (represented as a Java String) to the output stream.
 
Methods inherited from interface org.omg.CORBA.portable.ValueBase
_truncatable_ids
 

Method Detail

write_any

void write_any(Any value)
Writes the Any value to the output stream.

Parameters:
value - The value to be written.

write_boolean

void write_boolean(boolean value)
Writes the boolean value to the output stream.

Parameters:
value - The value to be written.

write_char

void write_char(char value)
Writes the IDL character value to the output stream.

Parameters:
value - The value to be written.

write_wchar

void write_wchar(char value)
Writes the IDL wide character value to the output stream.

Parameters:
value - The value to be written.

write_octet

void write_octet(byte value)
Writes the IDL octet value (represented as a Java byte) to the output stream.

Parameters:
value - The value to be written.

write_short

void write_short(short value)
Writes the IDL short value to the output stream.

Parameters:
value - The value to be written.

write_ushort

void write_ushort(short value)
Writes the IDL unsigned short value (represented as a Java short value) to the output stream.

Parameters:
value - The value to be written.

write_long

void write_long(int value)
Writes the IDL long value (represented as a Java int) to the output stream.

Parameters:
value - The value to be written.

write_ulong

void write_ulong(int value)
Writes the IDL unsigned long value (represented as a Java int) to the output stream.

Parameters:
value - The value to be written.

write_longlong

void write_longlong(long value)
Writes the IDL long long value (represented as a Java long) to the output stream.

Parameters:
value - The value to be written.

write_ulonglong

void write_ulonglong(long value)
Writes the IDL unsigned long long value (represented as a Java long) to the output stream.

Parameters:
value - The value to be written.

write_float

void write_float(float value)
Writes the IDL float value to the output stream.

Parameters:
value - The value to be written.

write_double

void write_double(double value)
Writes the IDL double value to the output stream.

Parameters:
value - The value to be written.

write_string

void write_string(String value)
Writes the IDL string value to the output stream.

Parameters:
value - The value to be written.

write_wstring

void write_wstring(String value)
Writes the IDL wide string value (represented as a Java String) to the output stream.

Parameters:
value - The value to be written.

write_Object

void write_Object(Object value)
Writes the IDL CORBA::Object value to the output stream.

Parameters:
value - The value to be written.

write_Abstract

void write_Abstract(Object value)
Writes the IDL Abstract interface type to the output stream.

Parameters:
value - The value to be written.

write_Value

void write_Value(Serializable value)
Writes the IDL value type value to the output stream.

Parameters:
value - The value to be written.

write_TypeCode

void write_TypeCode(TypeCode value)
Writes the typecode to the output stream.

Parameters:
value - The value to be written.

write_any_array

void write_any_array(Any[] seq,
                     int offset,
                     int length)
Writes the array of IDL Anys from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_boolean_array

void write_boolean_array(boolean[] seq,
                         int offset,
                         int length)
Writes the array of IDL booleans from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_char_array

void write_char_array(char[] seq,
                      int offset,
                      int length)
Writes the array of IDL characters from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_wchar_array

void write_wchar_array(char[] seq,
                       int offset,
                       int length)
Writes the array of IDL wide characters from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_octet_array

void write_octet_array(byte[] seq,
                       int offset,
                       int length)
Writes the array of IDL octets from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_short_array

void write_short_array(short[] seq,
                       int offset,
                       int length)
Writes the array of IDL shorts from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_ushort_array

void write_ushort_array(short[] seq,
                        int offset,
                        int length)
Writes the array of IDL unsigned shorts (represented as Java shorts) from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_long_array

void write_long_array(int[] seq,
                      int offset,
                      int length)
Writes the array of IDL longs from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_ulong_array

void write_ulong_array(int[] seq,
                       int offset,
                       int length)
Writes the array of IDL unsigned longs (represented as Java ints) from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_ulonglong_array

void write_ulonglong_array(long[] seq,
                           int offset,
                           int length)
Writes the array of IDL unsigned long longs (represented as Java longs) from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_longlong_array

void write_longlong_array(long[] seq,
                          int offset,
                          int length)
Writes the array of IDL long longs from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_float_array

void write_float_array(float[] seq,
                       int offset,
                       int length)
Writes the array of IDL floats from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

write_double_array

void write_double_array(double[] seq,
                        int offset,
                        int length)
Writes the array of IDL doubles from offset for length elements to the output stream.

Parameters:
seq - The array to be written.
offset - The index into seq of the first element to write to the output stream.
length - The number of elements to write to the output stream.

Ces informations proviennent du site de http://java.sun.com

Remarques

Contenu

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 :

Quels sont les motivations de cette démarche?

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.

Réseaux sociaux

Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher les interactions avec les réseaux sociaux sur ces pages.

 

Nuage de mots clés

10 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.

 

Astuce pour imprimer les couleurs des cellules de tableaux : http://www.gaudry.be/ast-rf-450.html
Aucun commentaire pour cette page

© Ce document issu de l′infobrol est enregistré sous le certificat Cyber PrInterDeposit Digital Numbertection. Enregistrement IDDN n° 5329-514
Document créé le 13/07/06 03:28, dernière modification le Vendredi 17 Juin 2011, 12:12
Source du document imprimé : http://www.gaudry.be/java-api-rf-org/omg/CORBA/DataOutputStream.html Document affiché 1 fois ce mois de Juin.
St.Gaudry©07.01.02
Outils (masquer)
||
Recherche (afficher)
Recherche :

Utilisateur (masquer)
Navigation (masquer)
Apparence (afficher)
Stats (afficher)
15832 documents
452 astuces.
549 niouzes.
3099 definitions.
447 membres.
8115 messages.

Document genere en :
0,62 seconde

Mises à jour :
Mises à jour du site
Citation (masquer)
Ce ne sont point les lieux où un grand homme est né et où il est mort qu'il faut visiter pour lui rendre hommage. Ce sont les lieux qu'il admirait entre tous...

Estelle Monbrun [Extrait de Meurtre chez Tante Léonie]
 
l'infobrol
Nous sommes le Samedi 02 Juin 2012, 09:39, toutes les heures sont au format GMT+1.00 Heure, heure d'été (+1)