saker.build Documentation TaskDoc JavaDoc
package saker.build.thirdparty.saker.util.io
Package containing I/O related utility classes.
Interfaces
ByteRegion
Interface for representing a view to a byte array.
ByteSink
Interface for handling byte stream output.
ByteSource
Interface for handling byte stream input.
DataInputByteSource
Interface extending DataInput and ByteSource.
DataOutputByteSink
Interface extending DataOutput and ByteSink.
ObjectInputByteSource
Interface extending ObjectInput and ByteSource.
ObjectOutputByteSink
Interface extending ObjectOutput and ByteSink.
Classes
AsyncOutputStream
OutputStream implementation that takes write requests and executes the writing to a subject stream asynchronously.
ByteArrayRegion
ByteRegion implementation backed by a byte array.
ByteSinkOutputStream
OutputStream and ByteSink implementation that forwards its calls to an underlying ByteSink.
ByteSourceInputStream
InputStream and ByteSource implementation that forwards its calls to an underlying ByteSource.
ConcatInputStream
Input stream class for concatenating the data of multiple input streams into one stream.
CounterInputStream
Filtering input stream that counts the number of bytes read from the subject input stream.
CounterOutputStream
Filtering output stream that counts the number of bytes written to the subject output stream.
DataInputUnsyncByteArrayInputStream
UnsyncByteArrayInputStream subclass that also implements DataInput to read binary formatted data from the buffer.
DataOutputUnsyncByteArrayOutputStream
UnsyncByteArrayOutputStream subclass that also implements DataOutput to write binary formatted data to the output buffer.
DynamicFilterByteSink
ByteSink and OutputStream implementation that dynamically chooses the actual output for each write operation.
DynamicFilterByteSource
ByteSource and InputStream implementation that dynamically chooses the actual output for each read operation.
FileUtils
Utility class containing functions for handling files, and file paths.
IOUtils
Utility class containing functions for dealing with I/O related functionality.
InputStreamByteSource
InputStream and ByteSource implementation that forwards its calls to an underlying InputStream.
JarFileUtils
Utility class containing functions dealing with JAR files.
LimitInputStream
Filter input stream that only allows a fixed amount of bytes to be read from its subject.
MultiplexOutputStream
Output stream implementation that delegates the calls to it to multiple subject output streams.
NetworkUtils
Utility class for network related functionalities.
OutputStreamByteSink
OutputStream and ByteSink implementation that forwards its calls to an underlying OutputStream.
PriorityMultiplexOutputStream
Output stream implementation that delegates its calls to a primary, and multiple secondary output streams.
ProcessUtils
Utility class containing functions regarding process manipulation.
ReadWriteBufferOutputStream
Stream class providing reading and writing operations to an internal buffer.
ResourceCloser
Utility class for holding resources to be closed later.
SerialUtils
Class containing utility functions related to object and data serialization.
StreamPair
Simple data class for holding an input-output stream pair.
StreamUtils
Utility class containing functions related to manipulating streams and related classes.
UnsyncBufferedInputStream
Input stream class similar to BufferedInputStream, but it does not synchronize its methods and therefore is not thread safe.
UnsyncBufferedOutputStream
Output stream class similar to BufferedOutputStream, but it does not synchronize its methods and therefore is not thread safe.
UnsyncByteArrayInputStream
Class similar to ByteArrayInputStream, but the methods are not synchronized.
UnsyncByteArrayOutputStream
Class similar to ByteArrayOutputStream, but the methods are not sychronized.
Exceptions
AsyncOutputIOException in AsyncOutputStream
Exception class that is signaling an IOException that occurred in an other time than the current call.
RemoteIOException
Exception signaling that an operation failed due to an underlying network connection failure.
SerializationConcurrentModificationException
Exception thrown when a serializing implementation encounters different number of items than expected.