Liking cljdoc? Tell your friends :D

javax.imageio.stream.FileImageInputStream

An implementation of ImageInputStream that gets its input from a File or RandomAccessFile. The file contents are assumed to be stable during the lifetime of the object.

An implementation of ImageInputStream that gets its
input from a File or RandomAccessFile.
The file contents are assumed to be stable during the lifetime of
the object.
raw docstring

->file-image-input-streamclj

(->file-image-input-stream f)

Constructor.

Constructs a FileImageInputStream that will read from a given File.

The file contents must not change between the time this object is constructed and the time of the last call to a read method.

f - a File to read from. - java.io.File

throws: java.lang.IllegalArgumentException - if f is null.

Constructor.

Constructs a FileImageInputStream that will read
 from a given File.

  The file contents must not change between the time this
 object is constructed and the time of the last call to a read
 method.

f - a File to read from. - `java.io.File`

throws: java.lang.IllegalArgumentException - if f is null.
raw docstring

closeclj

(close this)

Description copied from interface: ImageInputStream

throws: java.io.IOException - if an I/O error occurs.

Description copied from interface: ImageInputStream

throws: java.io.IOException - if an I/O error occurs.
raw docstring

lengthclj

(length this)

Returns the length of the underlying file, or -1 if it is unknown.

returns: the file length as a long, or -1. - long

Returns the length of the underlying file, or -1
 if it is unknown.

returns: the file length as a long, or
 -1. - `long`
raw docstring

readclj

(read this)
(read this b off len)

Description copied from class: ImageInputStreamImpl

b - an array of bytes to be written to. - byte[] off - the starting position within b to write to. - int len - the maximum number of bytes to read. - int

returns: the number of bytes actually read, or -1 to indicate EOF. - int

throws: java.io.IOException - if an I/O error occurs.

Description copied from class: ImageInputStreamImpl

b - an array of bytes to be written to. - `byte[]`
off - the starting position within b to write to. - `int`
len - the maximum number of bytes to read. - `int`

returns: the number of bytes actually read, or -1
 to indicate EOF. - `int`

throws: java.io.IOException - if an I/O error occurs.
raw docstring

seekclj

(seek this pos)

Description copied from interface: ImageInputStream

pos - a long containing the desired file pointer position. - long

throws: java.io.IOException - if any other I/O error occurs.

Description copied from interface: ImageInputStream

pos - a long containing the desired file pointer position. - `long`

throws: java.io.IOException - if any other I/O error occurs.
raw docstring

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

× close