readBoolean
method of DataInput
. Bytes for this operation are read from the contained input stream.
@return the boolean
value read.
@exception EOFException if this input stream has reached the end.
@exception IOException the stream has been closed and the containedinput stream does not support reading after close, or another I/O error occurs.
@see java.io.FilterInputStream#in
ObjectOutputStream.writeBoolean()
@throws IOException If an IO exception happened when reading the primitive data.
boolean
value of true
if it is nonzero, false
if it is zero. The bit offset within the stream is reset to zero before the read occurs. @return a boolean value from the stream. @exception java.io.EOFException if the end of the stream is reached. @exception IOException if an I/O error occurs.
SQLInputImpl
object as a boolean
in the Java programming language. This method does not perform type-safe checking to determine if the returned type is the expected type; this responsibility is delegated to the UDT mapping as defined by a SQLData
implementation.
@return the next attribute in this SQLInputImpl
object;if the value is SQL NULL
, return null
@throws SQLException if the read position is located at an invalidposition or if there are no further values in the stream.
boolean
from the bytes message stream.
@return the boolean
value read
@throws JMSException if the JMS provider fails to read the message due to some internal error.
@throws MessageEOFException if unexpected end of bytes stream has been reached.
@throws MessageNotReadableException if the message is in write-only mode.
boolean
from the stream message.
@return the boolean
value read
@throws JMSException if the JMS provider fails to read the messagedue to some internal error.
@throws MessageEOFException if unexpected end of message stream hasbeen reached.
@throws MessageFormatException if this type conversion is invalid.
@throws MessageNotReadableException if the message is in write-onlymode.
boolean
from the bytes message stream.
@return the boolean
value read
@throws JMSException if the JMS provider fails to read the message due tosome internal error.
@throws MessageEOFException if unexpected end of bytes stream has beenreached.
@throws MessageNotReadableException if the message is in write-only mode.
boolean
from the stream message.
@return the boolean
value read
@throws JMSException if the JMS provider fails to read the message due tosome internal error.
@throws MessageEOFException if unexpected end of message stream has beenreached.
@throws MessageFormatException if this type conversion is invalid.
@throws MessageNotReadableException if the message is in write-only mode.
boolean
from the bytes message stream.
@return the boolean
value read
@throws JMSException if the JMS provider fails to read the message due to some internal error.
@throws MessageEOFException if unexpected end of bytes stream has been reached.
@throws MessageNotReadableException if the message is in write-only mode.
boolean
from the stream message.
@return the boolean
value read
@throws JMSException if the JMS provider fails to read the messagedue to some internal error.
@throws MessageEOFException if unexpected end of message stream hasbeen reached.
@throws MessageFormatException if this type conversion is invalid.
@throws MessageNotReadableException if the message is in write-onlymode.
true
if that byte is nonzero, false
if that byte is zero. This method is suitable for reading the byte written by the writeBoolean
method of interface DataOutput
.
@return the boolean
value read.
@exception EOFException if this stream reaches the end before reading all the bytes.
@exception IOException if an I/O error occurs.
DataInput
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|