- java.lang.Object
-
- java.io.InputStream
-
- org.omg.CORBA.portable.InputStream
-
- org.omg.CORBA_2_3.portable.InputStream
-
- All Implemented Interfaces:
- Closeable, AutoCloseable
public abstract class InputStream extends InputStream
InputStream provides for the reading of all of the mapped IDL types from the stream. It extends org.omg.CORBA.portable.InputStream. This class defines new methods that were added for CORBA 2.3.- Since:
- JDK1.2
- See Also:
InputStream
-
-
Constructor Summary
Constructors Constructor and Description InputStream()
Create a new instance of this class.
-
Method Summary
Methods Modifier and Type Method and Description Object
read_abstract_interface()
Unmarshal the value object or a suitable stub object.Object
read_abstract_interface(Class clz)
Unmarshal the class object or the stub class corresponding to the passed type.Serializable
read_value()
Unmarshalls a value type from the input stream.Serializable
read_value(BoxedValueHelper factory)
Unmarshalls a value type from the input stream.Serializable
read_value(Class clz)
Unmarshalls a value type from the input stream.Serializable
read_value(Serializable value)
Unmarshalls a value type from the input stream.Serializable
read_value(String rep_id)
Unmarshalls a value type from the input stream.-
Methods inherited from class org.omg.CORBA.portable.InputStream
orb, read_any, read_boolean_array, read_boolean, read_char_array, read_char, read_Context, read_double_array, read_double, read_fixed, read_float_array, read_float, read_long_array, read_long, read_longlong_array, read_longlong, read_Object, read_Object, read_octet_array, read_octet, read_Principal, read_short_array, read_short, read_string, read_TypeCode, read_ulong_array, read_ulong, read_ulonglong_array, read_ulonglong, read_ushort_array, read_ushort, read_wchar_array, read_wchar, read_wstring, read
-
-
-
-
Constructor Detail
-
InputStream
public InputStream()
Create a new instance of this class. throw SecurityException if SecurityManager is installed and enableSubclassImplementation SerializablePermission is not granted or jdk.corba.allowInputStreamSubclass system property is either not set or is set to 'false'
-
-
Method Detail
-
read_value
public Serializable read_value()
Unmarshalls a value type from the input stream.- Returns:
- the value type unmarshalled from the input stream
-
read_value
public Serializable read_value(Class clz)
Unmarshalls a value type from the input stream.- Parameters:
clz
- is the declared type of the value to be unmarshalled- Returns:
- the value unmarshalled from the input stream
-
read_value
public Serializable read_value(BoxedValueHelper factory)
Unmarshalls a value type from the input stream.- Parameters:
factory
- is the instance fo the helper to be used for unmarshalling the value type- Returns:
- the value unmarshalled from the input stream
-
read_value
public Serializable read_value(String rep_id)
Unmarshalls a value type from the input stream.- Parameters:
rep_id
- identifies the type of the value to be unmarshalled- Returns:
- value type unmarshalled from the input stream
-
read_value
public Serializable read_value(Serializable value)
Unmarshalls a value type from the input stream.- Parameters:
value
- is an uninitialized value which is added to the orb's indirection table before calling Streamable._read() or CustomMarshal.unmarshal() to unmarshal the value.- Returns:
- value type unmarshalled from the input stream
-
read_abstract_interface
public Object read_abstract_interface()
Unmarshal the value object or a suitable stub object.- Returns:
- ORB runtime returns the value object or a suitable stub object.
-
read_abstract_interface
public Object read_abstract_interface(Class clz)
Unmarshal the class object or the stub class corresponding to the passed type.- Parameters:
clz
- is the Class object for the stub class which corresponds to the type that is statically expected.- Returns:
- ORB runtime returns the value object or a suitable stub object.
-
-
Traduction non disponible
Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Version en cache
21/11/2024 21:28:07 Cette version de la page est en cache (à la date du 21/11/2024 21:28:07) afin d'accélérer le traitement. Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la dernère version de la page.Document créé le 30/10/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-org/omg/corba-2-3/portable/inputstream.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.