API java : DataInputStream


org.omg.CORBA
Interface DataInputStream

All Superinterfaces:
IDLEntity, Serializable, ValueBase

public interface DataInputStream
extends ValueBase

Defines the methods used to read primitive data types from input streams for unmarshaling custom value types. This interface is used by user written custom unmarshaling code for custom value types.

See Also:
DataOutputStream, CustomMarshal

Method Summary
 Object read_Abstract()
          Reads an IDL Abstract interface from the input stream.
 void read_any_array(AnySeqHolder seq, int offset, int length)
          Reads array of IDL Anys from offset for length elements from the input stream.
 Any read_any()
          Reads an IDL Any value from the input stream.
 void read_boolean_array(BooleanSeqHolder seq, int offset, int length)
          Reads array of IDL booleans from offset for length elements from the input stream.
 boolean read_boolean()
          Reads an IDL boolean value from the input stream.
 void read_char_array(CharSeqHolder seq, int offset, int length)
          Reads array of IDL characters from offset for length elements from the input stream.
 char read_char()
          Reads an IDL character value from the input stream.
 void read_double_array(DoubleSeqHolder seq, int offset, int length)
          Reads array of IDL doubles from offset for length elements from the input stream.
 double read_double()
          Reads an IDL double from the input stream.
 void read_float_array(FloatSeqHolder seq, int offset, int length)
          Reads array of IDL floats from offset for length elements from the input stream.
 float read_float()
          Reads an IDL float from the input stream.
 void read_long_array(LongSeqHolder seq, int offset, int length)
          Reads array of IDL longs from offset for length elements from the input stream.
 int read_long()
          Reads an IDL long from the input stream.
 void read_longlong_array(LongLongSeqHolder seq, int offset, int length)
          Reads array of IDL long longs from offset for length elements from the input stream.
 long read_longlong()
          Reads an IDL long long from the input stream.
 Object read_Object()
          Reads an IDL CORBA::Object from the input stream.
 void read_octet_array(OctetSeqHolder seq, int offset, int length)
          Reads array of IDL octets from offset for length elements from the input stream.
 byte read_octet()
          Reads an IDL octet value from the input stream.
 void read_short_array(ShortSeqHolder seq, int offset, int length)
          Reads array of IDL shorts from offset for length elements from the input stream.
 short read_short()
          Reads an IDL short from the input stream.
 String read_string()
          Reads an IDL string from the input stream.
 TypeCode read_TypeCode()
          Reads an IDL typecode from the input stream.
 void read_ulong_array(ULongSeqHolder seq, int offset, int length)
          Reads array of IDL unsigned longs from offset for length elements from the input stream.
 int read_ulong()
          Reads an IDL unsigned long from the input stream.
 void read_ulonglong_array(ULongLongSeqHolder seq, int offset, int length)
          Reads array of IDL unsigned long longs from offset for length elements from the input stream.
 long read_ulonglong()
          Reads an unsigned IDL long long from the input stream.
 void read_ushort_array(UShortSeqHolder seq, int offset, int length)
          Reads array of IDL unsigned shorts from offset for length elements from the input stream.
 short read_ushort()
          Reads an IDL unsigned short from the input stream.
 Serializable read_Value()
          Reads an IDL value type from the input stream.
 void read_wchar_array(WCharSeqHolder seq, int offset, int length)
          Reads array of IDL wide characters from offset for length elements from the input stream.
 char read_wchar()
          Reads an IDL wide character value from the input stream.
 String read_wstring()
          Reads an IDL wide string from the input stream.
 
Methods inherited from interface org.omg.CORBA.portable.ValueBase
_truncatable_ids
 

Method Detail

read_any

Any read_any()
Reads an IDL Any value from the input stream.

Returns:
the Any read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_boolean

boolean read_boolean()
Reads an IDL boolean value from the input stream.

Returns:
the boolean read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_char

char read_char()
Reads an IDL character value from the input stream.

Returns:
the character read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_wchar

char read_wchar()
Reads an IDL wide character value from the input stream.

Returns:
the wide character read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_octet

byte read_octet()
Reads an IDL octet value from the input stream.

Returns:
the octet value read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_short

short read_short()
Reads an IDL short from the input stream.

Returns:
the short read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_ushort

short read_ushort()
Reads an IDL unsigned short from the input stream.

Returns:
the unsigned short read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_long

int read_long()
Reads an IDL long from the input stream.

Returns:
the long read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_ulong

int read_ulong()
Reads an IDL unsigned long from the input stream.

Returns:
the unsigned long read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_longlong

long read_longlong()
Reads an IDL long long from the input stream.

Returns:
the long long read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_ulonglong

long read_ulonglong()
Reads an unsigned IDL long long from the input stream.

Returns:
the unsigned long long read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_float

float read_float()
Reads an IDL float from the input stream.

Returns:
the float read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_double

double read_double()
Reads an IDL double from the input stream.

Returns:
the double read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_string

String read_string()
Reads an IDL string from the input stream.

Returns:
the string read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_wstring

String read_wstring()
Reads an IDL wide string from the input stream.

Returns:
the wide string read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_Object

Object read_Object()
Reads an IDL CORBA::Object from the input stream.

Returns:
the CORBA::Object read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_Abstract

Object read_Abstract()
Reads an IDL Abstract interface from the input stream.

Returns:
the Abstract interface read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_Value

Serializable read_Value()
Reads an IDL value type from the input stream.

Returns:
the value type read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_TypeCode

TypeCode read_TypeCode()
Reads an IDL typecode from the input stream.

Returns:
the typecode read.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_any_array

void read_any_array(AnySeqHolder seq,
                    int offset,
                    int length)
Reads array of IDL Anys from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_boolean_array

void read_boolean_array(BooleanSeqHolder seq,
                        int offset,
                        int length)
Reads array of IDL booleans from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_char_array

void read_char_array(CharSeqHolder seq,
                     int offset,
                     int length)
Reads array of IDL characters from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_wchar_array

void read_wchar_array(WCharSeqHolder seq,
                      int offset,
                      int length)
Reads array of IDL wide characters from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_octet_array

void read_octet_array(OctetSeqHolder seq,
                      int offset,
                      int length)
Reads array of IDL octets from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_short_array

void read_short_array(ShortSeqHolder seq,
                      int offset,
                      int length)
Reads array of IDL shorts from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_ushort_array

void read_ushort_array(UShortSeqHolder seq,
                       int offset,
                       int length)
Reads array of IDL unsigned shorts from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_long_array

void read_long_array(LongSeqHolder seq,
                     int offset,
                     int length)
Reads array of IDL longs from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_ulong_array

void read_ulong_array(ULongSeqHolder seq,
                      int offset,
                      int length)
Reads array of IDL unsigned longs from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_ulonglong_array

void read_ulonglong_array(ULongLongSeqHolder seq,
                          int offset,
                          int length)
Reads array of IDL unsigned long longs from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_longlong_array

void read_longlong_array(LongLongSeqHolder seq,
                         int offset,
                         int length)
Reads array of IDL long longs from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_float_array

void read_float_array(FloatSeqHolder seq,
                      int offset,
                      int length)
Reads array of IDL floats from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

read_double_array

void read_double_array(DoubleSeqHolder seq,
                       int offset,
                       int length)
Reads array of IDL doubles from offset for length elements from the input stream.

Parameters:
seq - The out parameter holder for the array to be read.
offset - The index into seq of the first element to read from the input stream.
length - The number of elements to read from the input stream.
Throws:
org.omg.CORBA.MARSHAL - If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

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

7 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-2169
Document créé le 30/08/06 23:55, dernière modification le Vendredi 17 Juin 2011, 12:12
Source du document imprimé : http://www.gaudry.be/java-api-rf-org/omg/CORBA/DataInputStream.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,42 seconde

Mises à jour :
Mises à jour du site
Citation (masquer)
Tant que l'homme sera mortel, il ne sera jamais décontracté.

Woody Allen
 
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)