Liking cljdoc? Tell your friends :D
Clojure only.

jdk.io.ObjectOutputStream$PutField

Provide programmatic access to the persistent fields to be written to ObjectOutput.

Provide programmatic access to the persistent fields to be written
to ObjectOutput.
raw docstring

->put-fieldclj

(->put-field)

Constructor.

Constructor.
raw docstring

putclj

(put this name val)

Put the value of the named boolean field into the persistent field.

name - the name of the serializable field - java.lang.String val - the value to assign to the field - boolean

throws: java.lang.IllegalArgumentException - if name does not match the name of a serializable field for the class whose fields are being written, or if the type of the named field is not boolean

Put the value of the named boolean field into the persistent field.

name - the name of the serializable field - `java.lang.String`
val - the value to assign to the field - `boolean`

throws: java.lang.IllegalArgumentException - if name does not match the name of a serializable field for the class whose fields are being written, or if the type of the named field is not boolean
raw docstring

writeclj

(write this out)

Deprecated. This method does not write the values contained by this PutField object in a proper format, and may result in corruption of the serialization stream. The correct way to write PutField data is by calling the ObjectOutputStream.writeFields() method.

out - the stream to write the data and fields to - java.io.ObjectOutput

throws: java.io.IOException - if I/O errors occur while writing to the underlying stream

Deprecated. This method does not write the values contained by this
         PutField object in a proper format, and may
         result in corruption of the serialization stream.  The
         correct way to write PutField data is by
         calling the ObjectOutputStream.writeFields()
         method.

out - the stream to write the data and fields to - `java.io.ObjectOutput`

throws: java.io.IOException - if I/O errors occur while writing to the underlying stream
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close