- closeQuietly
Quietly (no exceptions) close Closable resource. In case of error it will be
printed to IOUtils clas
- toByteArray
Returns an array (that shouldn't be written to!) of the ByteBuffer. Will be of
the requested length,
- copy
Copies all the data from the given InputStream to the OutputStream. It leaves
both streams open, so
- readFully
Same as the normal channel.read(b), but tries to ensure that the buffer is
filled completely if poss
- calculateChecksum
Calculate checksum on input data
- peekFirst8Bytes
Peeks at the first 8 bytes of the stream. Returns those bytes, but with the
stream unaffected. Requi
- safelyAllocate
- skipFully
Skips bytes from an input byte stream. This implementation guarantees that it
will read as many byte
- checkLength
- peekFirstNBytes
Peeks at the first N bytes of the stream. Returns those bytes, but with the
stream unaffected. Requi
- readByte
Simple utility function to check that you haven't hit EOF when reading a byte.
- write
Write a ( org.apache.poi.ss.usermodel.Workbook) to an output stream and close
the output stream. Thi