Skip navigation links
A B C D E F G I L M O P R S T V W 

A

AbstractInputStreamWrapper - Class in com.gc.iotools.stream.base
Provides common functionality to the easystream library: holds a source InputStream provide a AbstractInputStreamWrapper.closeOnce() method that's called exactly once. provide an implementation of AbstractInputStreamWrapper#skip(final long n) and AbstractInputStreamWrapper.read() methods. Keeps track of the position in the source stream over mark and reset.
AbstractInputStreamWrapper(InputStream) - Constructor for class com.gc.iotools.stream.base.AbstractInputStreamWrapper
Constructor for AbstractInputStreamWrapper.
addBytes(long) - Method in class com.gc.iotools.stream.base.BaseGlobalStats
 
addElapsedTime(long) - Method in class com.gc.iotools.stream.base.BaseGlobalStats
 
addIOTime(long) - Method in class com.gc.iotools.stream.base.BaseGlobalStats
 
afterClose() - Method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
This method is called just before the InputStreamFromOutputStream.close() method completes, and after the eventual join with the internal thread.
afterClose() - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
This method is called just before the close method completes, and after the eventual join with the internal thread.
ArrayTools - Class in com.gc.iotools.stream.utils
Miscellaneous utilities for Arrays, i haven't found anywhere.
available() - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
available() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
available() - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
available() - Method in class com.gc.iotools.stream.is.StatsInputStream
available() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream

B

BaseGlobalStats - Class in com.gc.iotools.stream.base
Base class for statistics.
BaseGlobalStats(String) - Constructor for class com.gc.iotools.stream.base.BaseGlobalStats
 
ByteUnit - Enum in com.gc.iotools.stream.base
 

C

ChunkInputStream - Class in com.gc.iotools.stream.is
This class is useful when you have an InputStream and you want to filter some parts of it basing on its content without reading it into memory.
ChunkInputStream(InputStream, byte[], byte[]) - Constructor for class com.gc.iotools.stream.is.ChunkInputStream
Constructs a ChunkInputStream.
ChunkInputStream(InputStream, byte[], byte[], boolean, boolean) - Constructor for class com.gc.iotools.stream.is.ChunkInputStream
Gets an instance of the ChunkInputStream.
cleanup() - Method in class com.gc.iotools.stream.store.MemoryStore
Cleans up the Store.
cleanup() - Method in class com.gc.iotools.stream.store.OnOffStore
Cleans up the Store.
cleanup() - Method in interface com.gc.iotools.stream.store.Store
Cleans up the Store.
cleanup() - Method in class com.gc.iotools.stream.store.ThresholdStore
Cleans up the Store.
clearInstanceWarnings() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
clearInstanceWarnings
clearInstanceWarnings() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
clearInstanceWarnings
close() - Method in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
close() - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
close() - Method in class com.gc.iotools.stream.is.CloseOnceInputStream
close() - Method in class com.gc.iotools.stream.is.debug.DataGeneratorInputStream
 
close() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
close() - Method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
close() - Method in class com.gc.iotools.stream.is.StatsInputStream
Closes the inner stream.
close() - Method in class com.gc.iotools.stream.os.CloseOnceOutputStream
close() - Method in class com.gc.iotools.stream.os.debug.OutputStreamDumper
close() - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
close(long, TimeUnit) - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
When this method is called the internal thread is always waited for completion.
close() - Method in class com.gc.iotools.stream.os.StatsOutputStream
close() - Method in class com.gc.iotools.stream.os.TeeOutputStream
close() - Method in class com.gc.iotools.stream.reader.CloseOnceReader
close() - Method in class com.gc.iotools.stream.reader.CloseShieldReader
close() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
close() - Method in class com.gc.iotools.stream.reader.ReaderFromWriter
close() - Method in class com.gc.iotools.stream.reader.SizeLimitReader
Close the underlying stream.
close() - Method in class com.gc.iotools.stream.reader.StatsReader
Closes the inner stream.
close() - Method in class com.gc.iotools.stream.reader.TeeReaderWriter
close() - Method in class com.gc.iotools.stream.writer.CloseOnceWriter
close() - Method in class com.gc.iotools.stream.writer.CloseShieldWriter
close() - Method in class com.gc.iotools.stream.writer.debug.WriterDumper
close() - Method in class com.gc.iotools.stream.writer.SizeLimitReader
Close the underlying stream.
close() - Method in class com.gc.iotools.stream.writer.StatsWriter
close() - Method in class com.gc.iotools.stream.writer.TeeWriter
close() - Method in class com.gc.iotools.stream.writer.WriterToReader
close(long, TimeUnit) - Method in class com.gc.iotools.stream.writer.WriterToReader
When this method is called the internal thread is always waited for completion.
closeCalled - Variable in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
 
closeCalled - Variable in class com.gc.iotools.stream.os.TeeOutputStream
True when TeeOutputStream.close() is invoked.
closeCalled - Variable in class com.gc.iotools.stream.writer.TeeWriter
True when TeeWriter.close() is invoked.
closeOnce() - Method in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
closeOnce
closeOnce() - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
closeOnce
closeOnce() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
closeOnce
CloseOnceInputStream<T extends InputStream> - Class in com.gc.iotools.stream.is
A CloseOnceInputStream contains some other input stream, which it uses as its basic source of data.
CloseOnceInputStream(T) - Constructor for class com.gc.iotools.stream.is.CloseOnceInputStream
Construct a CloseOnceInputStream that forwards the calls to the source InputStream passed in the constructor.
CloseOnceOutputStream<T extends OutputStream> - Class in com.gc.iotools.stream.os
A decorating OutputStream that prevents multiple invocations of the CloseOnceOutputStream.close() method on the underlying stream.
CloseOnceOutputStream(T) - Constructor for class com.gc.iotools.stream.os.CloseOnceOutputStream
Construct a CloseOnceOutputStream that forwards the calls to the source OutputStream passed in the constructor.
CloseOnceReader<T extends Reader> - Class in com.gc.iotools.stream.reader
A CloseOnceReader wraps some other Reader, which it uses as its basic source of data.
CloseOnceReader(T) - Constructor for class com.gc.iotools.stream.reader.CloseOnceReader
Construct a CloseOnceReader that forwards the calls to the source Reader passed in the constructor.
CloseOnceWriter<T extends Writer> - Class in com.gc.iotools.stream.writer
A CloseOnceWriter wraps some other Writer preventing multiple invocations of the method CloseOnceWriter.close().
CloseOnceWriter(T) - Constructor for class com.gc.iotools.stream.writer.CloseOnceWriter
Construct a CloseOnceWriter that forwards the calls to the source Writer passed in the constructor.
CloseShieldReader<T extends Reader> - Class in com.gc.iotools.stream.reader
A CloseShieldReader wraps some other Reader, which it uses as its basic source of data.
CloseShieldReader(T) - Constructor for class com.gc.iotools.stream.reader.CloseShieldReader
Construct a CloseShieldReader that forwards the calls to the source Reader passed in the constructor.
CloseShieldWriter<T extends Writer> - Class in com.gc.iotools.stream.writer
A CloseShieldWriter wraps some other Writer, which it uses as its basic sink of data.
CloseShieldWriter(T) - Constructor for class com.gc.iotools.stream.writer.CloseShieldWriter
Construct a CloseShieldWriter that forwards the calls to the source Writer passed in the constructor.
closeStreams - Variable in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
If true source and destination streams are closed when AbstractInputStreamWrapper.close() is invoked.
closeStreams - Variable in class com.gc.iotools.stream.reader.TeeReaderWriter
If true source and destination streams are closed when TeeReaderWriter.close() is invoked.
com.gc.iotools.stream.base - package com.gc.iotools.stream.base
Base classes and Enumerations.
com.gc.iotools.stream.is - package com.gc.iotools.stream.is
Provides classes that extends java.io.InputStream.
com.gc.iotools.stream.is.debug - package com.gc.iotools.stream.is.debug
Provides classes useful to debugg InputStream(s).
com.gc.iotools.stream.os - package com.gc.iotools.stream.os
Provides classes that extends java.io.OutputStream.
com.gc.iotools.stream.os.debug - package com.gc.iotools.stream.os.debug
Provides classes useful to gather statistics or debugging OutputStream(s).
com.gc.iotools.stream.reader - package com.gc.iotools.stream.reader
Provides classes that extends java.io.Reader.
com.gc.iotools.stream.reader.debug - package com.gc.iotools.stream.reader.debug
 
com.gc.iotools.stream.store - package com.gc.iotools.stream.store
Provides strategies to buffer data used along the application.
com.gc.iotools.stream.utils - package com.gc.iotools.stream.utils
Provides miscellaneous utilities.
com.gc.iotools.stream.writer - package com.gc.iotools.stream.writer
Provides classes that extends java.io.Writer.
com.gc.iotools.stream.writer.debug - package com.gc.iotools.stream.writer.debug
 
convert(long, ByteUnit) - Static method in enum com.gc.iotools.stream.base.ByteUnit
 
copyEnabled - Variable in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
 
copyEnabled - Variable in class com.gc.iotools.stream.reader.TeeReaderWriter
 
currentPosition - Variable in class com.gc.iotools.stream.reader.SizeLimitReader
The number of bytes that have been read from the SizeLimitReader.in stream.
currentPosition - Variable in class com.gc.iotools.stream.writer.SizeLimitReader
The number of characters that have been read from the SizeLimitReader.in stream.

D

DataGeneratorInputStream - Class in com.gc.iotools.stream.is.debug
Produces some amount of data.
DataGeneratorInputStream(long) - Constructor for class com.gc.iotools.stream.is.debug.DataGeneratorInputStream
 
DataGeneratorInputStream(long, long) - Constructor for class com.gc.iotools.stream.is.debug.DataGeneratorInputStream
 
DEFAULT_DISK_TRHESHOLD - Static variable in class com.gc.iotools.stream.is.RandomAccessInputStream
Default size for passing from memory allocation to disk allocation for the buffer.
DEFAULT_PIPE_SIZE - Static variable in class com.gc.iotools.stream.base.EasyStreamConstants
Default size for pipe buffer.
destinations - Variable in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
The destination OutputStream where data is written.
destinations - Variable in class com.gc.iotools.stream.os.TeeOutputStream
The destination OutputStream(s) where data is written.
destinations - Variable in class com.gc.iotools.stream.reader.TeeReaderWriter
The destination Writers where data is written.
destinations - Variable in class com.gc.iotools.stream.writer.TeeWriter
The destination Writer(s) where data is written.
DiagnosticInputStream<T extends InputStream> - Class in com.gc.iotools.stream.is.debug
A decorating InputStream that detects and log useful debug informations about the stream passed in the constructor, and detects wrong usage patterns.
DiagnosticInputStream(T) - Constructor for class com.gc.iotools.stream.is.debug.DiagnosticInputStream
Constructor for DiagnosticInputStream.
DiagnosticInputStream(T, int) - Constructor for class com.gc.iotools.stream.is.debug.DiagnosticInputStream
Constructor for DiagnosticInputStream.
DiagnosticReader<T extends Reader> - Class in com.gc.iotools.stream.reader.debug
A decorating Reader that detects and log useful debug informations about the stream passed in the constructor, and detects wrong usage patterns.
DiagnosticReader(T) - Constructor for class com.gc.iotools.stream.reader.debug.DiagnosticReader
Constructor for DiagnosticReader.
DiagnosticReader(T, int) - Constructor for class com.gc.iotools.stream.reader.debug.DiagnosticReader
Constructor for DiagnosticReader.
doRead(InputStream) - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
This method has to be implemented to use this class.
doRead(Reader) - Method in class com.gc.iotools.stream.writer.WriterToReader
This method has to be implemented to use this class.

E

EasyStreamConstants - Class in com.gc.iotools.stream.base
EasyStream constant values.
enable(boolean) - Method in class com.gc.iotools.stream.store.OnOffStore
enable
enableCopy(boolean) - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Allow to switch off the copy to the underlying OutputStreams.
enableCopy(boolean[]) - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Allow to switch off the copy to the underlying OutputStreams, selectively enabling or disabling copy to some specific stream.
enableCopy(boolean) - Method in class com.gc.iotools.stream.os.TeeOutputStream
Allow to switch off the copy to the underlying streams.
enableCopy(boolean[]) - Method in class com.gc.iotools.stream.os.TeeOutputStream
Allow to switch off the copy to the underlying streams, selectively enabling or disabling copy on some specific stream.
enableCopy(boolean) - Method in class com.gc.iotools.stream.reader.TeeReaderWriter
Allow to switch off the copy to the underlying OutputStreams.
enableCopy(boolean[]) - Method in class com.gc.iotools.stream.reader.TeeReaderWriter
Allow to switch off the copy to the underlying OutputStreams, selectively enabling or disabling copy to some specific stream.
enableCopy(boolean) - Method in class com.gc.iotools.stream.writer.TeeWriter
Allow to switch off the copy to the underlying streams.
enableCopy(boolean[]) - Method in class com.gc.iotools.stream.writer.TeeWriter
Allow to switch off the copy to the underlying streams, selectively enabling or disabling copy on some specific stream.
enableDump(boolean) - Method in class com.gc.iotools.stream.os.debug.OutputStreamDumper
Allow to switch off the copy to the internal byte array.
enableDump(boolean) - Method in class com.gc.iotools.stream.writer.debug.WriterDumper
Allow to switch off the copy to the internal character buffer.
ExecutionModel - Enum in com.gc.iotools.stream.base
This class enumerates the policies for instantiating Threads in classes of EasyStream library that needs of them.
executorService - Variable in class com.gc.iotools.stream.reader.ReaderFromWriter
 
ExecutorServiceFactory - Class in com.gc.iotools.stream.base
This class is responsible of instantiating the right executor given an ExecutionModel.

F

fetchNextChunk() - Method in class com.gc.iotools.stream.is.ChunkInputStream
This method must be called if automaticFetch=false before the stream can be used and each time an endMarker has been found to proceed to next startMarker.
finalize() - Method in class com.gc.iotools.stream.base.BaseGlobalStats
 
finalize() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
finalize() - Method in class com.gc.iotools.stream.is.StatsInputStream
finalize() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
finalize() - Method in class com.gc.iotools.stream.reader.StatsReader
finalize() - Method in class com.gc.iotools.stream.store.ThresholdStore
Clean up the temporary files eventually open.
flush() - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
flush() - Method in class com.gc.iotools.stream.os.StatsOutputStream
flush() - Method in class com.gc.iotools.stream.os.TeeOutputStream
flush() - Method in class com.gc.iotools.stream.writer.StatsWriter
flush() - Method in class com.gc.iotools.stream.writer.TeeWriter
flush() - Method in class com.gc.iotools.stream.writer.WriterToReader

G

get(byte[], int, int) - Method in class com.gc.iotools.stream.store.MemoryStore
gets length bytes from the store.
get(byte[], int, int) - Method in class com.gc.iotools.stream.store.OnOffStore
gets length bytes from the store.
get(byte[], int, int) - Method in interface com.gc.iotools.stream.store.Store
gets length bytes from the store.
get(byte[], int, int) - Method in class com.gc.iotools.stream.store.ThresholdStore
gets length bytes from the store.
getActiveThreadNames() - Static method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
This method can be used for debugging purposes to get a list of the currently active threads.
getActiveThreadNames() - Static method in class com.gc.iotools.stream.reader.ReaderFromWriter
This method can be used for debugging purposes to get a list of the currently active threads.
getAverageBytePerRead() - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the average bytes per read.
getAverageBytePerRead() - Method in class com.gc.iotools.stream.reader.StatsReader
Returns the average bytes per read.
getBitRate() - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the reading bit rate in KB per second of this single instance.
getBitRate() - Method in class com.gc.iotools.stream.reader.StatsReader
Returns the reading bit rate in KB per second of this single instance.
getBitRateString() - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the reading bit rate formatted with a convenient unit.
getBitRateString() - Method in class com.gc.iotools.stream.os.StatsOutputStream
Returns a string representation of the writing bit rate formatted with a convenient unit.
getBitRateString() - Method in class com.gc.iotools.stream.reader.StatsReader
Returns the reading bit rate formatted with a convenient unit.
getBitRateString() - Method in class com.gc.iotools.stream.writer.StatsWriter
Returns a string representation of the writing bit rate formatted with a convenient unit.
getBytes() - Method in enum com.gc.iotools.stream.base.ByteUnit
 
getBytesLeft() - Method in class com.gc.iotools.stream.reader.SizeLimitReader
Get the maximum number of bytes left to read before the limit, set in the constructor, is reached.
getBytesLeft() - Method in class com.gc.iotools.stream.writer.SizeLimitReader
Get the maximum number of characters left to read before the limit, set in the constructor, is reached.
getBytesRead() - Method in class com.gc.iotools.stream.reader.SizeLimitReader
Get the number of bytes actually read from this stream.
getBytesRead() - Method in class com.gc.iotools.stream.writer.SizeLimitReader
Get the number of characters actually read from this stream.
getCaller(Class<?>) - Static method in class com.gc.iotools.stream.utils.LogUtils
Returns the caller of the class passed as an argument.
getCaller(Class<?>, int) - Static method in class com.gc.iotools.stream.utils.LogUtils
Returns the caller stack of the class passed as an argument.
getCategories() - Static method in class com.gc.iotools.stream.base.BaseGlobalStats
Returns the set of categories defined for this stream (defined with the parameter groupCategory in the constructor.
getCategories() - Static method in class com.gc.iotools.stream.is.StatsInputStream
Returns the set of categories defined for this stream (defined with the parameter groupCategory in the constructor.
getCategories() - Static method in class com.gc.iotools.stream.reader.StatsReader
Returns the set of categories defined for this stream (defined with the parameter groupCategory in the constructor.
getCloseCount() - Method in class com.gc.iotools.stream.is.CloseOnceInputStream
Returns the number of time that close was called.
getCloseCount() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
Returns the number of times that close was called on this stream.
getCloseCount() - Method in class com.gc.iotools.stream.os.CloseOnceOutputStream
Returns the number of time that close was called.
getCloseCount() - Method in class com.gc.iotools.stream.reader.CloseOnceReader
Returns the number of time that close was called.
getCloseCount() - Method in class com.gc.iotools.stream.reader.CloseShieldReader
Returns the number of time that close was called.
getCloseCount() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
Returns the number of times that close was called on this stream.
getCloseCount() - Method in class com.gc.iotools.stream.writer.CloseOnceWriter
Returns the number of time that close was called.
getCloseCount() - Method in class com.gc.iotools.stream.writer.CloseShieldWriter
Returns the number of time that close was called.
getContent() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
Return the current captured bytes, if capture was enabled.
getContent() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
Return the current captured bytes, if capture was enabled.
getData() - Method in class com.gc.iotools.stream.os.debug.OutputStreamDumper
Returns the data that was written until now to the internal byte array.
getData() - Method in class com.gc.iotools.stream.writer.debug.WriterDumper
Returns the data that was written until now to the internal character buffer.
getDestinationStreams() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Returns the OutputStream(s) passed in the constructor.
getDestinationStreams() - Method in class com.gc.iotools.stream.os.TeeOutputStream
Returns the OutputStream(s) passed in the constructor.
getElapsedTime(TimeUnit) - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the time elapsed since this instance was constructed.
getElapsedTime(TimeUnit) - Method in class com.gc.iotools.stream.reader.StatsReader
Returns the time elapsed since this instance was constructed.
getExecutor(ExecutionModel) - Static method in class com.gc.iotools.stream.base.ExecutorServiceFactory
Getter for the field executor.
getFinalizationErrors() - Static method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
Returns an array of descriptions of finalization errors.
getFinalizationErrors() - Static method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
Returns an array of descriptions of finalization errors.
getInstanceWarnings() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
getInstanceWarnings
getInstanceWarnings() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
getInstanceWarnings
getInternalOverTotalTime() - Method in class com.gc.iotools.stream.is.StatsInputStream
This method return a ratio between the time spent by the internal InputStream waiting for I/O over the total time since this class was instantiated.
getInternalOverTotalTime() - Method in class com.gc.iotools.stream.reader.StatsReader
This method return a ratio between the time spent by the internal InputStream waiting for I/O over the total time since this class was instantiated.
getIOBitRate(ByteUnit) - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the read speed of this single instance.
getIOCharRate(ByteUnit) - Method in class com.gc.iotools.stream.reader.StatsReader
Returns the read speed of this single instance.
getIOTime(TimeUnit) - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the time spent until now waiting for the internal stream to respond.
getIOTime(TimeUnit) - Method in class com.gc.iotools.stream.reader.StatsReader
Returns the time spent until now waiting for the internal stream to respond.
getMaxSize() - Method in class com.gc.iotools.stream.reader.SizeLimitReader
Get the number of total bytes (including bytes already read) that can be read from this stream (as set in the constructor).
getMaxSize() - Method in class com.gc.iotools.stream.writer.SizeLimitReader
Get the number of total characters (including characters already read) that can be read from this stream (as set in the constructor).
getNumberRead() - Method in class com.gc.iotools.stream.is.StatsInputStream
Number of calls to int read() , int read(byte[]) and int read(byte[],int,int) methods.
getNumberRead() - Method in class com.gc.iotools.stream.reader.StatsReader
Number of calls to int read() , int read(byte[]) and int read(byte[],int,int) methods.
getPosition() - Method in class com.gc.iotools.stream.store.MemoryStore
Getter for the field position.
getRateString(long, long) - Static method in class com.gc.iotools.stream.utils.StreamUtils
Returns a string representing the transfer rate.
getRateString(long, long, Locale) - Static method in class com.gc.iotools.stream.utils.StreamUtils
Returns a string representing the transfer rate.
getReadTime() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Returns the number of milliseconds spent reading from the source InputStream.
getReadTime() - Method in class com.gc.iotools.stream.reader.TeeReaderWriter
Returns the number of milliseconds spent reading from the source Reader.
getResult() - Method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
Returns the object that was previously returned by the InputStreamFromOutputStream.produce(OutputStream) method.
getResult() - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
This method returns the result of the method OutputStreamToInputStream.doRead(InputStream) and ensure the previous method is over.
getResult() - Method in class com.gc.iotools.stream.reader.ReaderFromWriter
Returns the object that was previously returned by the ReaderFromWriter.produce(Writer) method.
getResults() - Method in class com.gc.iotools.stream.writer.WriterToReader
This method returns the result of the method WriterToReader.doRead(Reader) and ensure the previous method is over.
getSize() - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the number of bytes read until now from the internal InputStream or total length of the stream if the StatsInputStream.close() method has been called or EOF was reached.
getSize() - Method in class com.gc.iotools.stream.os.StatsOutputStream
Returns the number of bytes written until now.
getSize() - Method in class com.gc.iotools.stream.os.TeeOutputStream
This method returns the size in bytes of the data written to this OutputStream.
getSize() - Method in class com.gc.iotools.stream.reader.StatsReader
Returns the number of bytes read until now from the internal Reader or total length of the stream if the StatsReader.close() method has been called or EOF was reached.
getSize() - Method in class com.gc.iotools.stream.store.ThresholdStore
Getter for the field size.
getSize() - Method in class com.gc.iotools.stream.writer.StatsWriter
Returns the number of characters written until now.
getSize() - Method in class com.gc.iotools.stream.writer.TeeWriter
This method returns the size in bytes of the data written to this Writer.
getStatusMessage() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
Returns a string representation of the usage errors of the stream until now.
getStatusMessage() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
Returns a string representation of the usage errors of the stream until now.
getStore() - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
Return the underlying store where the cache of data is kept.
getTime() - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the time (in milliseconds) spent until now waiting for reading from the internal InputStream.
getTime(TimeUnit) - Method in class com.gc.iotools.stream.os.StatsOutputStream
Returns the time spent waiting for the internal stream to write the data.
getTime() - Method in class com.gc.iotools.stream.reader.StatsReader
Returns the time (in milliseconds) spent until now waiting for reading from the internal Reader.
getTime(TimeUnit) - Method in class com.gc.iotools.stream.writer.StatsWriter
Returns the time spent waiting for the internal stream to write the data.
getTotalDataRead(ByteUnit) - Method in class com.gc.iotools.stream.base.BaseGlobalStats
 
getTotalDataRead(ByteUnit) - Method in class com.gc.iotools.stream.is.StatsInputStream
Total number of bytes read made by this instance over the subsequent calls.
getTotalDataRead(ByteUnit) - Method in class com.gc.iotools.stream.reader.StatsReader
Total number of characters read by this instance over the subsequent calls.
getTotalElapsedTime(TimeUnit) - Method in class com.gc.iotools.stream.base.BaseGlobalStats
 
getTotalElapsedTime(TimeUnit) - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the total time of the instance activity (the time elapsed from the constructor call to the close() method.
getTotalElapsedTime(TimeUnit) - Method in class com.gc.iotools.stream.reader.StatsReader
Returns the time spent until now waiting for the internal stream to respond.
getTotalIOTime(TimeUnit) - Method in class com.gc.iotools.stream.base.BaseGlobalStats
 
getTotalIOTime(TimeUnit) - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the total time spent waiting for IO operations from all the instances of the StatsInputStream.
getTotalIOTime(TimeUnit) - Method in class com.gc.iotools.stream.reader.StatsReader
Returns the total time spent until now waiting for reading from the internal Reader by the instances (identified by their constructor position).
getTotalNumberRead() - Method in class com.gc.iotools.stream.base.BaseGlobalStats
Total count of calls to int read(), int read(byte[]) and int read(byte[],int,int) methods, made by this instance over the subsequent calls.
getTotalNumberRead() - Method in class com.gc.iotools.stream.is.StatsInputStream
Total count of calls to int read(), int read(byte[]) and int read(byte[],int,int) methods, made by this instance over the subsequent calls.
getTotalNumberRead() - Method in class com.gc.iotools.stream.reader.StatsReader
Total count of calls to int read(), int read(byte[]) and int read(byte[],int,int) methods, made by this instance over the subsequent calls.
getTotalTime(TimeUnit) - Method in class com.gc.iotools.stream.is.StatsInputStream
Deprecated.
getTreshold() - Method in class com.gc.iotools.stream.store.ThresholdStore
Getter for the field treshold.
getWrappedInputStream() - Method in class com.gc.iotools.stream.is.CloseOnceInputStream
Returns the wrapped (original) InputStream passed in the constructor.
getWrappedInputStream() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
Returns the wrapped (original) InputStream passed in the constructor.
getWrappedOutputStream() - Method in class com.gc.iotools.stream.os.CloseOnceOutputStream
Returns the wrapped (original) OutputStream passed in the constructor.
getWrappedReader() - Method in class com.gc.iotools.stream.reader.CloseOnceReader
Returns the wrapped (original) Reader passed in the constructor.
getWrappedReader() - Method in class com.gc.iotools.stream.reader.CloseShieldReader
Returns the wrapped (original) Reader passed in the constructor.
getWrappedReader() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
Returns the wrapped (original) Reader passed in the constructor.
getWrappedStream() - Method in class com.gc.iotools.stream.os.debug.OutputStreamDumper
Returns the wrapped (original) OutputStream passed in the constructor.
getWrappedStream() - Method in class com.gc.iotools.stream.writer.debug.WriterDumper
Returns the wrapped (original) Writer passed in the constructor.
getWrappedWriter() - Method in class com.gc.iotools.stream.writer.CloseOnceWriter
Returns the wrapped (original) Writer passed in the constructor.
getWrappedWriter() - Method in class com.gc.iotools.stream.writer.CloseShieldWriter
Returns the wrapped (original) Writer passed in the constructor.
getWriteSize() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Returns the number of bytes written until now to a single destination OutputStream.
getWriteSize() - Method in class com.gc.iotools.stream.reader.TeeReaderWriter
Returns the number of bytes written until now to a single destination Writer.
getWriteTime() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Return the time spent writing on the destination OutputStream(s) in milliseconds.
getWriteTime() - Method in class com.gc.iotools.stream.os.TeeOutputStream
Return the time spent writing to the destination OutputStream(s) in milliseconds.
getWriteTime() - Method in class com.gc.iotools.stream.reader.TeeReaderWriter
Return the time spent writing on the destination Writer(s) in milliseconds.
getWriteTime() - Method in class com.gc.iotools.stream.writer.TeeWriter
Return the time spent writing to the destination Writer(s) in milliseconds.

I

in - Variable in class com.gc.iotools.stream.reader.SizeLimitReader
The underlying stream from which data are read.
in - Variable in class com.gc.iotools.stream.writer.SizeLimitReader
The underlying stream from which data are read.
incrementReadCount() - Method in class com.gc.iotools.stream.base.BaseGlobalStats
 
INDEFINITE_SIZE - Static variable in class com.gc.iotools.stream.os.debug.OutputStreamDumper
Constant INDEFINITE_SIZE=-1L
INDEFINITE_SIZE - Static variable in class com.gc.iotools.stream.writer.debug.WriterDumper
Constant INDEFINITE_SIZE=-1L
indexOf(byte[], byte[]) - Static method in class com.gc.iotools.stream.utils.ArrayTools
Find the index of the contained array in the src array.
init() - Static method in class com.gc.iotools.stream.base.ExecutorServiceFactory
Call this method to initialize the ExecutorService that is used in STATIC_THREAD_POOL execution mode.
innerRead(byte[], int, int) - Method in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
innerRead
innerRead(byte[], int, int) - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
innerRead
innerRead(byte[], int, int) - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
innerRead
InputStreamFromOutputStream<T> - Class in com.gc.iotools.stream.is
This class allow to read the data written to an OutputStream from an InputStream.
InputStreamFromOutputStream() - Constructor for class com.gc.iotools.stream.is.InputStreamFromOutputStream
It creates a InputStreamFromOutputStream with a THREAD_PER_INSTANCE thread strategy.
InputStreamFromOutputStream(boolean, boolean, ExecutorService, int) - Constructor for class com.gc.iotools.stream.is.InputStreamFromOutputStream
 
InputStreamFromOutputStream(boolean, ExecutionModel) - Constructor for class com.gc.iotools.stream.is.InputStreamFromOutputStream
It creates a InputStreamFromOutputStream and let the user choose the thread allocation strategy he likes.
InputStreamFromOutputStream(boolean, ExecutorService) - Constructor for class com.gc.iotools.stream.is.InputStreamFromOutputStream
It creates a InputStreamFromOutputStream and let the user specify the ExecutorService that will execute the InputStreamFromOutputStream.produce(OutputStream) method.
InputStreamFromOutputStream(boolean, ExecutorService, int) - Constructor for class com.gc.iotools.stream.is.InputStreamFromOutputStream
It creates a InputStreamFromOutputStream and let the user specify the ExecutorService that will execute the InputStreamFromOutputStream.produce(OutputStream) method and the pipe buffer size.
InputStreamFromOutputStream(ExecutionModel) - Constructor for class com.gc.iotools.stream.is.InputStreamFromOutputStream
It creates a InputStreamFromOutputStream and let the user choose the thread allocation strategy he likes.
InputStreamFromOutputStream(ExecutorService) - Constructor for class com.gc.iotools.stream.is.InputStreamFromOutputStream
It creates a InputStreamFromOutputStream and let the user specify the ExecutorService that will execute the InputStreamFromOutputStream.produce(OutputStream) method.
isFullReadOnClose() - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the behavior of the close method.
isFullReadOnClose() - Method in class com.gc.iotools.stream.reader.StatsReader
Returns the behavior of the close method.
isMethodCalledAfterClose() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
isMethodCalledAfterClose
isMethodCalledAfterClose() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
isMethodCalledAfterClose check if some operation on the current reader was attempted after the method close() was invoked.

L

logCurrentStatistics() - Method in class com.gc.iotools.stream.is.StatsInputStream
Logs the current statistics.
logCurrentStatistics() - Method in class com.gc.iotools.stream.reader.StatsReader
Logs the current statistics.
LogUtils - Class in com.gc.iotools.stream.utils
Utilities for logging.

M

mark(int) - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
mark(int) - Method in class com.gc.iotools.stream.is.debug.DataGeneratorInputStream
 
mark(int) - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
mark(int) - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
mark(int) - Method in class com.gc.iotools.stream.is.StatsInputStream
mark(int) - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
mark(int) - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
mark(int) - Method in class com.gc.iotools.stream.reader.SizeLimitReader
mark(int) - Method in class com.gc.iotools.stream.reader.StatsReader
mark(int) - Method in class com.gc.iotools.stream.reader.TeeReaderWriter
mark(int) - Method in class com.gc.iotools.stream.writer.SizeLimitReader
markLimit - Variable in class com.gc.iotools.stream.is.RandomAccessInputStream
 
markPosition - Variable in class com.gc.iotools.stream.is.RandomAccessInputStream
Position in the stream when the mark() was issued.
markPosition - Variable in class com.gc.iotools.stream.reader.SizeLimitReader
The position in the stream when SizeLimitReader.mark(int) was called.
markPosition - Variable in class com.gc.iotools.stream.writer.SizeLimitReader
The position in the stream when SizeLimitReader.mark(int) was called.
markSupported() - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
markSupported() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
markSupported() - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
Overrides the markSupported() method of the InputStream class.
markSupported() - Method in class com.gc.iotools.stream.is.StatsInputStream
markSupported() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
markSupported() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
markSupported() - Method in class com.gc.iotools.stream.reader.SizeLimitReader
markSupported() - Method in class com.gc.iotools.stream.reader.StatsReader
markSupported() - Method in class com.gc.iotools.stream.reader.TeeReaderWriter
markSupported() - Method in class com.gc.iotools.stream.writer.SizeLimitReader
maxSize - Variable in class com.gc.iotools.stream.reader.SizeLimitReader
The number of bytes to read at most from the SizeLimitReader.in stream.
maxSize - Variable in class com.gc.iotools.stream.writer.SizeLimitReader
The number of characters to read at most from the SizeLimitReader.in stream.
MemoryStore - Class in com.gc.iotools.stream.store
TODO: more efficient memory usage.
MemoryStore() - Constructor for class com.gc.iotools.stream.store.MemoryStore
 

O

ONE_KILOBYTE - Static variable in class com.gc.iotools.stream.base.EasyStreamConstants
Constant ONE_KILOBYTE=1024F
OnOffStore - Class in com.gc.iotools.stream.store
OnOffStore class.
OnOffStore(SeekableStore) - Constructor for class com.gc.iotools.stream.store.OnOffStore
Constructor for OnOffStore.
OutputStreamDumper<T extends OutputStream> - Class in com.gc.iotools.stream.os.debug
Copies the data that is written to this class to the OutputStream passed in the constructor.
OutputStreamDumper(T) - Constructor for class com.gc.iotools.stream.os.debug.OutputStreamDumper
Constructor for OutputStreamDumper.
OutputStreamDumper(T, long) - Constructor for class com.gc.iotools.stream.os.debug.OutputStreamDumper
Constructor for OutputStreamDumper.
OutputStreamToInputStream<T> - Class in com.gc.iotools.stream.os
This class allow to read from an InputStream the data who has been written to an OutputStream (performs an OutputStream -> InputStream conversion).
OutputStreamToInputStream() - Constructor for class com.gc.iotools.stream.os.OutputStreamToInputStream
Creates a new OutputStreamToInputStream.
OutputStreamToInputStream(boolean) - Constructor for class com.gc.iotools.stream.os.OutputStreamToInputStream
Creates a new OutputStreamToInputStream.
OutputStreamToInputStream(boolean, boolean, ExecutorService, int) - Constructor for class com.gc.iotools.stream.os.OutputStreamToInputStream
Creates a new OutputStreamToInputStream.
OutputStreamToInputStream(boolean, ExecutionModel) - Constructor for class com.gc.iotools.stream.os.OutputStreamToInputStream
Creates a new OutputStreamToInputStream.
OutputStreamToInputStream(boolean, ExecutorService) - Constructor for class com.gc.iotools.stream.os.OutputStreamToInputStream
Creates a new OutputStreamToInputStream.
OutputStreamToInputStream(boolean, ExecutorService, int) - Constructor for class com.gc.iotools.stream.os.OutputStreamToInputStream
Creates a new OutputStreamToInputStream.

P

produce(OutputStream) - Method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
This method must be implemented by the user of this class to produce the data that must be read from the external InputStream.
produce(Writer) - Method in class com.gc.iotools.stream.reader.ReaderFromWriter
This method must be implemented by the user of this class to produce the data that must be read from the external Reader.
put(byte[], int, int) - Method in class com.gc.iotools.stream.store.MemoryStore
put
put(byte[], int, int) - Method in class com.gc.iotools.stream.store.OnOffStore
put
put(byte[], int, int) - Method in interface com.gc.iotools.stream.store.Store
put
put(byte[], int, int) - Method in class com.gc.iotools.stream.store.ThresholdStore
put

R

RandomAccessInputStream - Class in com.gc.iotools.stream.is
A RandomAccessInputStream adds functionality to another input stream-namely, the ability to buffer the input, allowing it to be read multiple times, and to support the mark and reset methods.
RandomAccessInputStream(InputStream) - Constructor for class com.gc.iotools.stream.is.RandomAccessInputStream
Constructor for RandomAccessInputStream.
RandomAccessInputStream(InputStream, int) - Constructor for class com.gc.iotools.stream.is.RandomAccessInputStream
Creates a RandomAccessInputStream with the specified treshold, and saves its argument, the input stream source, for later use.
RandomAccessInputStream(InputStream, SeekableStore) - Constructor for class com.gc.iotools.stream.is.RandomAccessInputStream
Constructor for RandomAccessInputStream.
randomAccessIsPosition - Variable in class com.gc.iotools.stream.is.RandomAccessInputStream
Position of read cursor in the RandomAccessInputStream.
read() - Method in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
read(byte[], int, int) - Method in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
read() - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
read(byte[]) - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
read(byte[], int, int) - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
read() - Method in class com.gc.iotools.stream.is.debug.DataGeneratorInputStream
 
read() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
read(byte[]) - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
read(byte[], int, int) - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
read() - Method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
read(byte[], int, int) - Method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
read(byte[]) - Method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
read() - Method in class com.gc.iotools.stream.is.StatsInputStream
read(byte[]) - Method in class com.gc.iotools.stream.is.StatsInputStream
read(byte[], int, int) - Method in class com.gc.iotools.stream.is.StatsInputStream
read() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
read() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
read(char[]) - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
read(char[], int, int) - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
read() - Method in class com.gc.iotools.stream.reader.ReaderFromWriter
read(char[], int, int) - Method in class com.gc.iotools.stream.reader.ReaderFromWriter
read() - Method in class com.gc.iotools.stream.reader.SizeLimitReader
read(char[]) - Method in class com.gc.iotools.stream.reader.SizeLimitReader
read(char[], int, int) - Method in class com.gc.iotools.stream.reader.SizeLimitReader
read() - Method in class com.gc.iotools.stream.reader.StatsReader
read(char[]) - Method in class com.gc.iotools.stream.reader.StatsReader
read(char[], int, int) - Method in class com.gc.iotools.stream.reader.StatsReader
read() - Method in class com.gc.iotools.stream.reader.TeeReaderWriter
read(char[], int, int) - Method in class com.gc.iotools.stream.reader.TeeReaderWriter
read(InputStream, int) - Static method in class com.gc.iotools.stream.utils.StreamUtils
Read a specified amount of bytes from the source InputStream and place them into the returned byte array.
read() - Method in class com.gc.iotools.stream.writer.SizeLimitReader
read(char[]) - Method in class com.gc.iotools.stream.writer.SizeLimitReader
read(char[], int, int) - Method in class com.gc.iotools.stream.writer.SizeLimitReader
ReaderFromWriter<T> - Class in com.gc.iotools.stream.reader
This class allow to read the data written to an Writer from an Reader.
ReaderFromWriter() - Constructor for class com.gc.iotools.stream.reader.ReaderFromWriter
It creates a ReaderFromWriter with a THREAD_PER_INSTANCE thread strategy.
ReaderFromWriter(boolean, ExecutionModel) - Constructor for class com.gc.iotools.stream.reader.ReaderFromWriter
It creates a ReaderFromWriter and let the user choose the thread allocation strategy he likes.
ReaderFromWriter(boolean, ExecutorService) - Constructor for class com.gc.iotools.stream.reader.ReaderFromWriter
It creates a ReaderFromWriter and let the user specify the ExecutorService that will execute the ReaderFromWriter.produce(Writer) method.
ReaderFromWriter(boolean, ExecutorService, int) - Constructor for class com.gc.iotools.stream.reader.ReaderFromWriter
It creates a ReaderFromWriter and let the user specify the ExecutorService that will execute the ReaderFromWriter.produce(Writer) method and the pipe buffer size.
ReaderFromWriter(ExecutionModel) - Constructor for class com.gc.iotools.stream.reader.ReaderFromWriter
It creates a ReaderFromWriter and let the user choose the thread allocation strategy he likes.
ReaderFromWriter(ExecutorService) - Constructor for class com.gc.iotools.stream.reader.ReaderFromWriter
It creates a ReaderFromWriter and let the user specify the ExecutorService that will execute the ReaderFromWriter.produce(Writer) method.
reset() - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
reset() - Method in class com.gc.iotools.stream.is.debug.DataGeneratorInputStream
 
reset() - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
reset() - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
reset() - Method in class com.gc.iotools.stream.is.StatsInputStream
reset() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
reset() - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
reset() - Method in class com.gc.iotools.stream.reader.SizeLimitReader
reset() - Method in class com.gc.iotools.stream.reader.StatsReader
reset() - Method in class com.gc.iotools.stream.reader.TeeReaderWriter
reset() - Method in class com.gc.iotools.stream.writer.SizeLimitReader
resetFinalizationErrors() - Static method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
resetFinalizationErrors
resetFinalizationErrors() - Static method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
resetFinalizationErrors
resetStatistics() - Static method in class com.gc.iotools.stream.base.BaseGlobalStats
 
resetStatistics() - Static method in class com.gc.iotools.stream.is.StatsInputStream
Remove keys with 0 associated instances from the maps.
resetStatistics() - Static method in class com.gc.iotools.stream.reader.StatsReader
Remove keys with 0 associated instances from the maps.
resetToBeginning() - Method in class com.gc.iotools.stream.is.debug.DataGeneratorInputStream
 

S

seek(long) - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
Reposition the read pointer in the stream.
seek(long) - Method in class com.gc.iotools.stream.store.MemoryStore
Reposition this Store on a previously read position.
seek(long) - Method in class com.gc.iotools.stream.store.OnOffStore
Reposition this Store on a previously read position.
seek(long) - Method in interface com.gc.iotools.stream.store.SeekableStore
Reposition this Store on a previously read position.
seek(long) - Method in class com.gc.iotools.stream.store.ThresholdStore
Reposition this Store on a previously read position.
SeekableStore - Interface in com.gc.iotools.stream.store
Represents a Store that can be seeked to a random position.
setDefaultLogDepth(int) - Static method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
Setter for the field defaultLogDepth.
setDefaultLogDepth(int) - Static method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
Setter for the field defaultLogDepth.
setDefaultPipeSize(int) - Static method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
Set the size for the pipe buffer for the newly created InputStreamFromOutputStream.
setDefaultPipeSize(int) - Static method in class com.gc.iotools.stream.os.OutputStreamToInputStream
Set the size for the pipe circular buffer.
setDefaultPipeSize(int) - Static method in class com.gc.iotools.stream.reader.ReaderFromWriter
Set the size for the pipe circular buffer for the newly created ReaderFromWriter.
setDefaultPipeSize(int) - Static method in class com.gc.iotools.stream.writer.WriterToReader
Set the size for the pipe circular buffer.
setDefaultThreadPoolExecutor(ExecutorService) - Static method in class com.gc.iotools.stream.base.ExecutorServiceFactory
Sets the default ExecutorService returned when this class is invoked with ExecutionModel.STATIC_THREAD_POOL.
setPosition(long) - Method in class com.gc.iotools.stream.store.ThresholdStore
Setter for the field position.
setStore(Store) - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
Setter for the field store.
shutDown() - Static method in class com.gc.iotools.stream.base.ExecutorServiceFactory
Call this method to finalize the execution queue.
SizeLimitReader - Class in com.gc.iotools.stream.reader
A Reader wrapper that will read only a definite number of bytes from the underlying stream.
SizeLimitReader(Reader, long) - Constructor for class com.gc.iotools.stream.reader.SizeLimitReader
Create a new SizeLimitReader from another stream given a size limit.
SizeLimitReader - Class in com.gc.iotools.stream.writer
A Reader wrapper that will read only a definite number of characters from the underlying stream.
SizeLimitReader(Reader, long) - Constructor for class com.gc.iotools.stream.writer.SizeLimitReader
Create a new SizeLimitInputStream from another stream given a size limit.
skip(long) - Method in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
skip(long) - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
skip(long) - Method in class com.gc.iotools.stream.is.debug.DiagnosticInputStream
skip(long) - Method in class com.gc.iotools.stream.is.StatsInputStream
skip(long) - Method in class com.gc.iotools.stream.reader.debug.DiagnosticReader
skip(long) - Method in class com.gc.iotools.stream.reader.ReaderFromWriter
skip(long) - Method in class com.gc.iotools.stream.reader.SizeLimitReader
skip(long) - Method in class com.gc.iotools.stream.reader.StatsReader
skip(long) - Method in class com.gc.iotools.stream.writer.SizeLimitReader
SKIP_BUFFER_SIZE - Static variable in class com.gc.iotools.stream.base.EasyStreamConstants
Default skip size.
source - Variable in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
 
source - Variable in class com.gc.iotools.stream.reader.TeeReaderWriter
The source Reader where the data comes from.
sourcePosition - Variable in class com.gc.iotools.stream.is.RandomAccessInputStream
Position of reading in the source stream.
StatsInputStream - Class in com.gc.iotools.stream.is
An InputStream wrapper that gather statistics about the InputStream passed in the constructor.
StatsInputStream(InputStream) - Constructor for class com.gc.iotools.stream.is.StatsInputStream
Constructs an SizeReaderInputStream.
StatsInputStream(InputStream, boolean) - Constructor for class com.gc.iotools.stream.is.StatsInputStream
Constructs an SizeReaderInputStream and allow to specify actions to do on close.
StatsInputStream(InputStream, boolean, boolean) - Constructor for class com.gc.iotools.stream.is.StatsInputStream
Constructs an SizeReaderInputStream and allow to specify actions to do on close.
StatsInputStream(InputStream, boolean, boolean, String) - Constructor for class com.gc.iotools.stream.is.StatsInputStream
Constructs an SizeReaderInputStream and allow to specify a key for regrouping the global statistics.
StatsInputStream(InputStream, boolean, boolean, String, StatsInputStream) - Constructor for class com.gc.iotools.stream.is.StatsInputStream
Constructs an SizeReaderInputStream.
StatsOutputStream - Class in com.gc.iotools.stream.os
Gather some statistics on the OutputStream passed in the constructor.
StatsOutputStream(OutputStream) - Constructor for class com.gc.iotools.stream.os.StatsOutputStream
Creates a new SizeRecorderOutputStream with the given destination stream.
StatsReader - Class in com.gc.iotools.stream.reader
Gather some statistics of the Reader passed in the constructor.
StatsReader(Reader) - Constructor for class com.gc.iotools.stream.reader.StatsReader
Constructs an SizeReaderReader.
StatsReader(Reader, boolean) - Constructor for class com.gc.iotools.stream.reader.StatsReader
Constructs an SizeReaderReader and allow to specify actions to do on close.
StatsReader(Reader, boolean, boolean) - Constructor for class com.gc.iotools.stream.reader.StatsReader
Constructs an SizeReaderReader and allow to specify actions to do on close.
StatsReader(Reader, boolean, boolean, String, StatsReader) - Constructor for class com.gc.iotools.stream.reader.StatsReader
Constructs an SizeReaderReader and allow to specify actions to do on close.
StatsWriter - Class in com.gc.iotools.stream.writer
A delegating Writer that gather statistics on the Writer passed in the constructor.
StatsWriter(Writer) - Constructor for class com.gc.iotools.stream.writer.StatsWriter
Creates a new StatsWriter with the given destination character stream.
Store - Interface in com.gc.iotools.stream.store
Represent a place where bytes are memorized.
StreamUtils - Class in com.gc.iotools.stream.utils
General utilities for handling streams.
subarray(byte[], int, int) - Static method in class com.gc.iotools.stream.utils.ArrayTools
 

T

TeeInputStreamOutputStream - Class in com.gc.iotools.stream.is
Copies the data from the underlying InputStream to the OutputStream(s) passed in the constructor.
TeeInputStreamOutputStream(InputStream, boolean, OutputStream...) - Constructor for class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Creates a TeeInputStreamOutputStream and saves its argument, the input stream source and the output stream destination for later use.
TeeInputStreamOutputStream(InputStream, OutputStream) - Constructor for class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Creates a TeeOutputStream and saves its argument, the input stream source and the OutputStream destination for later use.
TeeInputStreamOutputStream(InputStream, OutputStream, boolean) - Constructor for class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Creates a TeeOutputStream and saves its argument, the input stream source and the output stream destination for later use.
TeeOutputStream - Class in com.gc.iotools.stream.os
Copies the data that is written to this class to the array of OutputStream passed in the constructor, allowing to write to multiple OutputStream at once.
TeeOutputStream(OutputStream...) - Constructor for class com.gc.iotools.stream.os.TeeOutputStream
Creates a TeeOutputStream and saves its arguments, the destinations for later use.
TeeReaderWriter - Class in com.gc.iotools.stream.reader
Copies the data from the underlying Reader to the Writer(s) passed in the constructor.
TeeReaderWriter(Reader, boolean, Writer...) - Constructor for class com.gc.iotools.stream.reader.TeeReaderWriter
Creates a TeeInputStreamWriter and saves its argument, the input stream source and the output stream destination for later use.
TeeReaderWriter(Reader, Writer) - Constructor for class com.gc.iotools.stream.reader.TeeReaderWriter
Creates a TeeReaderWriter and saves its argument, the input stream source and the Writer destination for later use.
TeeReaderWriter(Reader, Writer, boolean) - Constructor for class com.gc.iotools.stream.reader.TeeReaderWriter
Creates a TeeReaderWriter and saves its argument, the input stream source and the output stream destination for later use.
TeeWriter - Class in com.gc.iotools.stream.writer
Copies the data that is written to this class to the Writer(s) passed in the constructor.
TeeWriter(Writer...) - Constructor for class com.gc.iotools.stream.writer.TeeWriter
Creates a TeeWriter and saves its arguments, the destinations for later use.
ThresholdStore - Class in com.gc.iotools.stream.store
Store that puts data in memory until threshold size is reach.
ThresholdStore(int) - Constructor for class com.gc.iotools.stream.store.ThresholdStore
Constructor for ThresholdStore.
ThresholdStore(int, File) - Constructor for class com.gc.iotools.stream.store.ThresholdStore
Constructor for ThresholdStore.
toString() - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
Provides a String representation of the state of the stream for debugging purposes.
toString() - Method in class com.gc.iotools.stream.store.MemoryStore
Provides a String representation of the state of the Store for debugging purposes.
toString() - Method in class com.gc.iotools.stream.store.ThresholdStore
Provides a String representation of the state of the Store for debugging purposes.
tryReadFully(InputStream, byte[], int, int) - Static method in class com.gc.iotools.stream.utils.StreamUtils
Read bytes from the source InputStream into the buffer.

V

valueOf(String) - Static method in enum com.gc.iotools.stream.base.ByteUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.gc.iotools.stream.base.ExecutionModel
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.gc.iotools.stream.base.ByteUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.gc.iotools.stream.base.ExecutionModel
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(byte[], int, int) - Method in class com.gc.iotools.stream.os.debug.OutputStreamDumper
write(int) - Method in class com.gc.iotools.stream.os.debug.OutputStreamDumper
write(byte[]) - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
write(byte[], int, int) - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
write(int) - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
write(byte[]) - Method in class com.gc.iotools.stream.os.StatsOutputStream
write(byte[], int, int) - Method in class com.gc.iotools.stream.os.StatsOutputStream
write(int) - Method in class com.gc.iotools.stream.os.StatsOutputStream
write(byte[]) - Method in class com.gc.iotools.stream.os.TeeOutputStream
write(byte[], int, int) - Method in class com.gc.iotools.stream.os.TeeOutputStream
write(int) - Method in class com.gc.iotools.stream.os.TeeOutputStream
write(char[], int, int) - Method in class com.gc.iotools.stream.writer.debug.WriterDumper
write(int) - Method in class com.gc.iotools.stream.writer.debug.WriterDumper
write(char[]) - Method in class com.gc.iotools.stream.writer.StatsWriter
write(char[], int, int) - Method in class com.gc.iotools.stream.writer.StatsWriter
write(int) - Method in class com.gc.iotools.stream.writer.StatsWriter
write(char[]) - Method in class com.gc.iotools.stream.writer.TeeWriter
write(char[], int, int) - Method in class com.gc.iotools.stream.writer.TeeWriter
write(int) - Method in class com.gc.iotools.stream.writer.TeeWriter
write(char[]) - Method in class com.gc.iotools.stream.writer.WriterToReader
write(char[], int, int) - Method in class com.gc.iotools.stream.writer.WriterToReader
write(int) - Method in class com.gc.iotools.stream.writer.WriterToReader
WriterDumper<T extends Writer> - Class in com.gc.iotools.stream.writer.debug
This class act as a filter, simply forwarding the calls to the Writer passed in the constructor.
WriterDumper(T) - Constructor for class com.gc.iotools.stream.writer.debug.WriterDumper
Constructor for WriterDumper.
WriterDumper(T, long) - Constructor for class com.gc.iotools.stream.writer.debug.WriterDumper
Constructor for WriterDumper.
WriterToReader<T> - Class in com.gc.iotools.stream.writer
This class allow to read from an Reader the data who has been written to an Writer (performs an Writer -> Reader conversion).
WriterToReader() - Constructor for class com.gc.iotools.stream.writer.WriterToReader
Creates a new WriterToReader.
WriterToReader(boolean, ExecutionModel) - Constructor for class com.gc.iotools.stream.writer.WriterToReader
Creates a new WriterToReader.
WriterToReader(boolean, ExecutorService) - Constructor for class com.gc.iotools.stream.writer.WriterToReader
Creates a new WriterToReader.
WriterToReader(boolean, ExecutorService, int) - Constructor for class com.gc.iotools.stream.writer.WriterToReader
Creates a new WriterToReader.
A B C D E F G I L M O P R S T V W 
Skip navigation links

Copyright © 2008–2016. All rights reserved.