Package org.refcodes.io
-
Interface Summary Interface Description BidirectionalConnectionByteTransceiver<INPUT,OUTPUT> TheBidirectionalConnectionByteTransceiver
defines theDatagramTransceiver
functionality set on top of a I/O connection (as of theBidirectionalConnectionComponent.BidirectionalConnectionAutomaton
).BidirectionalConnectionTransceiver<DATA extends java.io.Serializable,INPUT,OUTPUT> TheBidirectionalConnectionTransceiver
defines theDatagramTransceiver
functionality set on top of a I/O connection (as of theBidirectionalConnectionComponent.BidirectionalConnectionAutomaton
).BidirectionalStreamConnectionByteTransceiver ABidirectionalStreamConnectionByteTransceiver
is aDatagramTransceiver
connected through I/O streams with anotherBidirectionalStreamConnectionByteTransceiver
.BidirectionalStreamConnectionTransceiver<DATA extends java.io.Serializable> ABidirectionalStreamConnectionTransceiver
is aDatagramTransceiver
connected through I/O streams with anotherBidirectionalStreamConnectionTransceiver
.BlockConsumer<DATA extends java.io.Serializable> TheBlockConsumer
is used to send datagram blocks (arrays) in a unified way.BlockProvider<DATA extends java.io.Serializable> TheBlockProvider
is used to receive datagram blocks (arrays) in a unified way.BlockReceiver<DATA extends java.io.Serializable> TheBlockReceiver
is used to receive datagram blocks (arrays) in a unified way.BlockSender<DATA extends java.io.Serializable> TheBlockSender
is used to send datagram blocks (arrays) in a unified way.BlockTransceiver<DATA extends java.io.Serializable> Combines theBlockSender
andBlockReceiver
functionality in a single interface to be implemented by a single class so thatBlockSender
andBlockReceiver
functionality can be provided by a single instance.ByteArrayConsumer The Interface ByteArrayConsumer.ByteArrayProvider The Interface ByteArrayProvider.ByteArrayReceiver The Interface ByteArrayReceiver.ByteBlockConsumer TheByteBlockConsumer
is used to send byte blocks (arrays) in a unified way.ByteBlockProvider TheByteBlockProvider
is used to receive byte blocks (arrays) in a unified way.ByteBlockReceiver TheByteBlockReceiver
is used to receive byte blocks (arrays) in a unified way.ByteBlockSender TheByteBlockSender
is used to send byte blocks (arrays) in a unified way.ByteBlockTransceiver Combines theBlockSender
andBlockReceiver
functionality in a single interface to be implemented by a single class so thatBlockSender
andBlockReceiver
functionality can be provided by a single instance.ByteConsumer The Interface ByteConsumer.ByteDatagramConsumer TheByteDatagramConsumer
is used to send bytes in a unified way.ByteDatagramInputStream (asInputStream
does not provide some useful *interface*)ByteDatagramOutputStream (asOutputStream
does not provide some useful *interface*)ByteDatagramProvider TheByteDatagramProvider
is used to receive bytes in a unified way.ByteDatagramReceiver TheByteDatagramReceiver
is used to receive bytes in a unified way.ByteDatagramSender TheByteDatagramSender
is used to send bytes in a unified way.ByteDatagramTransceiver Combines theDatagramSender
andDatagramReceiver
functionality in a single interface to be implemented by a single class so thatDatagramSender
andDatagramReceiver
functionality can be provided by a single instance.ByteProvider The Interface ByteProvider.ByteReceiver The Interface ByteReceiver.ByteSender The Interface ByteSender.ByteTransceiver AByteTransceiver
combines the functionality of aByteSender
and of aByteReceiver
. e.g. for building loopback devices.ConnectionByteReceiver<CON> TheConnectionByteReceiver
defines theDatagramReceiver
functionality set on top of a connection (as of theConnectionComponent.ConnectionAutomaton
) for data types "byte".ConnectionByteSender<CON> TheConnectionByteSender
defines theDatagramSender
functionality set on top of a connection (as of theConnectionComponent.ConnectionAutomaton
) for data types "byte".ConnectionByteTransceiver<CON> TheConnectionByteTransceiver
defines theDatagramTransceiver
functionality set on top of a connection (as of theConnectionComponent.ConnectionAutomaton
) for data types "byte".ConnectionReceiver<DATA extends java.io.Serializable,CON> TheConnectionReceiver
defines theDatagramReceiver
functionality set on top of a connection (as of theConnectionComponent.ConnectionAutomaton
).ConnectionSender<DATA extends java.io.Serializable,CON> TheConnectionSender
defines theDatagramSender
functionality set on top of a connection (as of theConnectionComponent.ConnectionAutomaton
).ConnectionShortReceiver<CON> TheConnectionShortReceiver
defines theDatagramReceiver
functionality set on top of a connection (as of theConnectionComponent.ConnectionAutomaton
) for data types "short".ConnectionShortSender<CON> TheConnectionShortSender
defines theDatagramSender
functionality set on top of a connection (as of theConnectionComponent.ConnectionAutomaton
) for data types "short".ConnectionShortTransceiver<CON> TheConnectionShortTransceiver
defines theDatagramTransceiver
functionality set on top of a connection (as of theConnectionComponent.ConnectionAutomaton
) for data types "short".ConnectionTransceiver<DATA extends java.io.Serializable,CON> TheConnectionTransceiver
defines theDatagramTransceiver
functionality set on top of a connection (as of theConnectionComponent.ConnectionAutomaton
).Consumer<DATA extends java.io.Serializable> The Interface Consumer.DatagramConsumer<DATA extends java.io.Serializable> TheDatagramConsumer
is used to send datagrams in a unified way.DatagramProvider<DATA extends java.io.Serializable> TheDatagramProvider
is used to receive datagrams in a unified way.DatagramReceiver<DATA extends java.io.Serializable> TheDatagramReceiver
is used to receive datagrams in a unified way.DatagramSender<DATA extends java.io.Serializable> TheDatagramSender
is used to send datagrams in a unified way.DatagramTransceiver<DATA extends java.io.Serializable> Combines theDatagramSender
andDatagramReceiver
functionality in a single interface to be implemented by a single class so thatDatagramSender
andDatagramReceiver
functionality can be provided by a single instance.InputStreamAccessor Provides an accessor for a Input-Stream property.InputStreamAccessor.InputStreamBuilder<B extends InputStreamAccessor.InputStreamBuilder<B>> Provides a builder method for a Input-Stream property returning the builder for applying multiple build operations.InputStreamAccessor.InputStreamMutator Provides a mutator for a Input-Stream property.InputStreamAccessor.InputStreamProperty Provides a Input-Stream property.InputStreamConnectionByteReceiver AInputStreamConnectionByteReceiver
is aDatagramReceiver
connected through I/O streams with aOutputStreamConnectionSender
.InputStreamConnectionReceiver<DATA extends java.io.Serializable> AInputStreamConnectionReceiver
is aDatagramReceiver
connected through I/O streams with aOutputStreamConnectionSender
.InputStreamStringBuilder LoopbackByteReceiver ALoopbackByteReceiver
is aDatagramReceiver
connected directly within the same JVM with aLoopbackByteSender
; a "loopback" connection is used for establishing the connection which cannot be accessed outside the JVM or the running machine.LoopbackByteSender ALoopbackByteSender
is aDatagramSender
connected directly within the same JVM with aLoopbackByteReceiver
; a "loopback" connection is used for establishing the connection which cannot be accessed outside the JVM or the running machine.LoopbackByteTransceiver ALoopbackByteTransceiver
is aDatagramTransceiver
connected directly within the same JVM with anotherLoopbackByteTransceiver
; a "loopback" connection is used for establishing the connection which cannot be accessed outside the JVM or the running machine.LoopbackReceiver<DATA extends java.io.Serializable> ALoopbackReceiver
is aDatagramReceiver
connected directly within the same JVM with aLoopbackSender
; a "loopback" connection is used for establishing the connection which cannot be accessed outside the JVM or the running machine.LoopbackSender<DATA extends java.io.Serializable> ALoopbackSender
is aDatagramSender
connected directly within the same JVM with aLoopbackReceiver
; a "loopback" connection is used for establishing the connection which cannot be accessed outside the JVM or the running machine.LoopbackShortReceiver ALoopbackShortReceiver
is aDatagramReceiver
connected directly within the same JVM with aLoopbackShortSender
; a "loopback" connection is used for establishing the connection which cannot be accessed outside the JVM or the running machine.LoopbackShortSender ALoopbackShortSender
is aDatagramSender
connected directly within the same JVM with aLoopbackByteReceiver
; a "loopback" connection is used for establishing the connection which cannot be accessed outside the JVM or the running machine.LoopbackShortTransceiver ALoopbackShortTransceiver
is aDatagramTransceiver
connected directly within the same JVM with anotherLoopbackShortTransceiver
; a "loopback" connection is used for establishing the connection which cannot be accessed outside the JVM or the running machine.LoopbackTransceiver<DATA extends java.io.Serializable> ALoopbackTransceiver
is aDatagramTransceiver
connected directly within the same JVM with anotherLoopbackTransceiver
; a "loopback" connection is used for establishing the connection which cannot be accessed outside the JVM or the running machine.MaxConnectionsAccessor Provides an accessor for a maximum connections property.MaxConnectionsAccessor.MaxConnectionsBuilder<B extends MaxConnectionsAccessor.MaxConnectionsBuilder<B>> Provides a builder method for a maximum connections property returning the builder for applying multiple build operations.MaxConnectionsAccessor.MaxConnectionsMutator Provides a mutator for a maximum connections property.MaxConnectionsAccessor.MaxConnectionsProperty Provides a maximum connections property.OutputStreamAccessor Provides an accessor for a Output-Stream property.OutputStreamAccessor.OutputStreamBuilder<B extends OutputStreamAccessor.OutputStreamBuilder<B>> Provides a builder method for a Output-Stream property returning the builder for applying multiple build operations.OutputStreamAccessor.OutputStreamMutator Provides a mutator for a Output-Stream property.OutputStreamAccessor.OutputStreamProperty Provides a Output-Stream property.OutputStreamConnectionByteSender AOutputStreamConnectionByteSender
is aDatagramSender
connected through I/O streams with aInputStreamConnectionReceiver
.OutputStreamConnectionSender<DATA extends java.io.Serializable> AOutputStreamConnectionSender
is aDatagramSender
connected through I/O streams with aInputStreamConnectionReceiver
.Provider<DATA extends java.io.Serializable> The Interface Provider.Receivable The Interface Receivable.Receiver<DATA extends java.io.Serializable> The Interface Receiver.Sendable The Interface Sendable.Sender<DATA extends java.io.Serializable> The Interface Sender.ShortBlockConsumer TheShortBlockConsumer
is used to send short blocks (arrays) in a unified way.ShortBlockProvider TheShortBlockProvider
is used to receive short blocks (arrays) in a unified way.ShortBlockReceiver TheShortBlockReceiver
is used to receive short blocks (arrays) in a unified way.ShortBlockSender TheShortBlockSender
is used to send short blocks (arrays) in a unified way.ShortConsumer The Interface ShortConsumer.ShortDatagramConsumer TheShortDatagramConsumer
is used to send shorts in a unified way.ShortDatagramProvider TheShortDatagramProvider
is used to receive shorts in a unified way.ShortDatagramReceiver TheShortDatagramReceiver
is used to receive shorts in a unified way.ShortDatagramSender TheShortDatagramSender
is used to send shorts in a unified way.ShortProvider The Interface ShortProvider.ShortReceiver The Interface ShortReceiver.ShortSender The Interface ShortSender.ShortTransceiver AShortTransceiver
combines the functionality of aShortSender
and of aShortReceiver
. e.g. for building loopback devices.Transceiver<DATA extends java.io.Serializable> ATransceiver
combines the functionality of aSender
and of aReceiver
. e.g. for building loopback devices. -
Class Summary Class Description AbstractByteProvider TheAbstractByteProvider
is a base abstract implementation of theByteReceiver
interface providing common functionality for concrete real liveByteDatagramReceiver
andByteBlockReceiver
(=ByteReceiver
) implementations.AbstractByteReceiver TheAbstractByteReceiver
is a base abstract implementation of theByteReceiver
interface providing common functionality for concrete real liveByteDatagramReceiver
andByteBlockReceiver
(=ByteReceiver
) implementations.AbstractByteReceiver.ConnectableAutomaton The Class ConnectableAutomaton.AbstractByteSender TheAbstractByteSender
is a base abstract implementation of theByteSender
interface providing common functionality for concrete real liveByteDatagramSender
andByteBlockSender
(=ByteSender
) implementations.AbstractInputStreamByteReceiver Abstract implementation of theByteReceiver
interface.AbstractInputStreamReceiver<DATA extends java.io.Serializable> Abstract implementation of theReceiver
interface.AbstractPrefetchInputStreamByteReceiver Abstract implementation of theByteReceiver
interface.AbstractPrefetchInputStreamReceiver<DATA extends java.io.Serializable> Abstract implementation of theReceiver
interface.AbstractReceiver<DATA extends java.io.Serializable> TheAbstractReceiver
is a base abstract implementation of theReceiver
interface providing common functionality for concrete real liveByteDatagramReceiver
andByteBlockReceiver
(=Receiver
) implementations.AbstractSender<DATA extends java.io.Serializable> TheAbstractSender
is a base abstract implementation of theByteSender
interface providing common functionality for concrete real liveByteDatagramSender
andByteBlockSender
(=ByteSender
) implementations.AbstractShortReceiver TheAbstractShortReceiver
is a base abstract implementation of theShortReceiver
interface providing common functionality for concrete real liveShortDatagramReceiver
andShortBlockReceiver
(=ShortReceiver
) implementations.AbstractShortSender TheAbstractShortSender
is a base abstract implementation of theShortSender
interface providing common functionality for concrete real liveShortDatagramSender
andShortBlockSender
(=ShortSender
) implementations.BidirectionalStreamByteTransceiverImpl The Class BidirectionalStreamByteTransceiverImpl.BidirectionalStreamConnectionByteTransceiverImpl The Class BidirectionalStreamConnectionByteTransceiverImpl.BidirectionalStreamConnectionTransceiverImpl<DATA extends java.io.Serializable> The Class BidirectionalStreamConnectionTransceiverImpl.BidirectionalStreamTransceiverImpl<DATA extends java.io.Serializable> The Class BidirectionalStreamTransceiverImpl.ByteArrayConsumerImpl The Class ByteArrayConsumerImpl.ByteArrayProviderImpl The Class ByteArrayProviderImpl.ByteArrayReceiverImpl The Class ByteArrayReceiverImpl.ByteReceiverDecorator TheByteReceiverDecorator
decorates aByteProvider
with the additional methods of aByteReceiver
making it easy to use aByteProvider
wherever aByteReceiver
is expected.ByteSenderDecorator TheByteSenderDecorator
decorates aByteConsumer
with the additional methods of aByteSender
making it easy to use aByteConsumer
wherever aByteSender
is expected.FileUtility TheFileUtility
provides Various file related utility functionality.InputStreamByteReceiverImpl The Class InputStreamByteReceiverImpl.InputStreamConnectionByteReceiverImpl Implementation of theInputStreamConnectionReceiver
interface.InputStreamConnectionReceiverImpl<DATA extends java.io.Serializable> Implementation of theInputStreamConnectionReceiver
interface.InputStreamReceiverImpl<DATA extends java.io.Serializable> The Class InputStreamReceiverImpl.InputStreamStringBuilderImpl Implementation of theInputStreamStringBuilder
interface.LoopbackByteReceiverImpl Implementation of theLoopbackByteReceiver
interface.LoopbackByteSenderImpl Implementation of theLoopbackByteSender
interface.LoopbackByteTransceiverImpl Implementation of theLoopbackByteTransceiver
interface.LoopbackReceiverImpl<DATA extends java.io.Serializable> Implementation of theLoopbackReceiver
interface.LoopbackSenderImpl<DATA extends java.io.Serializable> Implementation of theLoopbackSender
interface.LoopbackShortReceiverImpl Implementation of theLoopbackShortReceiver
interface.LoopbackShortSenderImpl Implementation of theLoopbackShortSender
interface.LoopbackShortTransceiverImpl Implementation of theLoopbackShortTransceiver
interface.LoopbackTransceiverImpl<DATA extends java.io.Serializable> Implementation of theLoopbackTransceiver
interface.OutputStreamByteSenderImpl The Class OutputStreamByteSenderImpl.OutputStreamConnectionByteSenderImpl Implementation of theOutputStreamConnectionSender
interface.OutputStreamConnectionSenderImpl<DATA extends java.io.Serializable> Implementation of theOutputStreamConnectionSender
interface.OutputStreamSenderImpl<DATA extends java.io.Serializable> The Class OutputStreamSenderImpl.PrefetchBidirectionalStreamByteTransceiverImpl The Class PrefetchBidirectionalStreamByteTransceiverImpl.PrefetchBidirectionalStreamConnectionByteTransceiverImpl The Class PrefetchBidirectionalStreamConnectionByteTransceiverImpl.PrefetchBidirectionalStreamConnectionTransceiverImpl<DATA extends java.io.Serializable> The Class PrefetchBidirectionalStreamConnectionTransceiverImpl.PrefetchBidirectionalStreamTransceiverImpl<DATA extends java.io.Serializable> The Class PrefetchBidirectionalStreamTransceiverImpl.PrefetchInputStreamByteReceiverImpl The Class PrefetchInputStreamByteReceiverImpl.PrefetchInputStreamConnectionByteReceiverImpl Implementation of theInputStreamConnectionReceiver
interface.PrefetchInputStreamConnectionReceiverImpl<DATA extends java.io.Serializable> Implementation of theInputStreamConnectionReceiver
interface.PrefetchInputStreamReceiverImpl<DATA extends java.io.Serializable> The Class PrefetchInputStreamReceiverImpl.ReceiverDecorator<DATA extends java.io.Serializable> TheReceiverDecorator
decorates aProvider
with the additional methods of aReceiver
making it easy to use aProvider
wherever aReceiver
is expected.SenderDecorator<DATA extends java.io.Serializable> TheSenderDecorator
decorates aConsumer
with the additional methods of aSender
making it easy to use aConsumer
wherever aSender
is expected.SerializableIteratorImpl<T> Makes the wrappedIterator
serializable, else passingIterator
instances would cause anNotSerializableException
or similar.SerializableListIteratorImpl<T> Makes the wrappedListIterator
serializable, else passingListIterator
instances would cause anNotSerializableException
or similar.SerializableObjectInputStreamImpl TheSerializableObjectInputStreamImpl
extends an ordinaryObjectInputStream
to also resolve primitive types.SerializeUtility Utility providing useful serialization methods.ShortArrayReceiverImpl The Class ShortArrayReceiverImpl.ShortReceiverDecorator TheShortReceiverDecorator
decorates aShortProvider
with the additional methods of aShortReceiver
making it easy to use aShortProvider
wherever aShortReceiver
is expected.ShortSenderDecorator TheShortSenderDecorator
decorates aShortConsumer
with the additional methods of aShortSender
making it easy to use aShortConsumer
wherever aShortSender
is expected.ZipFileInputStreamImpl Represents anInputStream
from a providedFile
: In case the file points to a ZIP compressed file, then the uncompressed data of the therein contained file with the same name excluding the ".zip" extension is provided by theInputStream
.ZipFileOutputStreamImpl Represents anOutputStream
to a providedFile
: In case the file points to a ZIP compressed file, then a therein to be contained file with the same name excluding the ".zip" extension is created by theOutputStream
.