Freigeben über


ObjectInputStream.InterfaceConsts.ProtocolVersion1 Field

Definition

Caution

This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.

A Stream Protocol Version.

[Android.Runtime.Register("PROTOCOL_VERSION_1")]
[System.Obsolete("This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.", true)]
public const Java.IO.ObjectStreamProtocol ProtocolVersion1 = 1;
[<Android.Runtime.Register("PROTOCOL_VERSION_1")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.", true)>]
val mutable ProtocolVersion1 : Java.IO.ObjectStreamProtocol

Field Value

Value = 1
Attributes

Remarks

A Stream Protocol Version.

All externalizable data is written in JDK 1.1 external data format after calling this method. This version is needed to write streams containing Externalizable data that can be read by pre-JDK 1.1.6 JVMs.

Added in 1.2.

Java documentation for java.io.ObjectStreamConstants.PROTOCOL_VERSION_1.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to