com.sleepycat.util |
General utilities used throughout Berkeley DB.
|
Java Source File Name | Type | Comment |
ExceptionUnwrapper.java | Class | Unwraps nested exceptions by calling the
ExceptionWrapper.getCause method for exceptions that implement the
ExceptionWrapper interface. |
ExceptionWrapper.java | Interface | Interface implemented by exceptions that can contain nested exceptions. |
FastInputStream.java | Class | A replacement for ByteArrayInputStream that does not synchronize every
byte read.
This class extends
InputStream and its read()
methods allow it to be used as a standard input stream. |
FastOutputStream.java | Class | A replacement for ByteArrayOutputStream that does not synchronize every
byte read.
This class extends
OutputStream and its write()
methods allow it to be used as a standard output stream. |
IOExceptionWrapper.java | Class | An IOException that can contain nested exceptions. |
PackedInteger.java | Class | Static methods for reading and writing packed integers.
Note that packed integers are not sorted naturally for a byte-by-byte
comparison because they have a preceding length and are little endian;
therefore, they are typically not used for keys.
Values in the inclusive range [-119,119] are stored in a single byte.
For values outside that range, the first byte stores the sign and the number
of additional bytes. |
RuntimeExceptionWrapper.java | Class | A RuntimeException that can contain nested exceptions. |
UtfOps.java | Class | UTF operations with more flexibility than is provided by DataInput and
DataOutput. |