A B C D E F G I M N O P R S T U 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 #skip() 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
 
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.RandomAccessInputStream
available() - Method in class com.gc.iotools.stream.is.SizeLimitInputStream
available() - Method in class com.gc.iotools.stream.is.StatsInputStream
available() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream

B

Base64 - Class in com.gc.iotools.stream.utils
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in com.gc.iotools.stream.utils
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.InputStream(InputStream) - Constructor for class com.gc.iotools.stream.utils.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class com.gc.iotools.stream.utils.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in com.gc.iotools.stream.utils
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream(OutputStream) - Constructor for class com.gc.iotools.stream.utils.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class com.gc.iotools.stream.utils.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.

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
 
cleanup() - Method in class com.gc.iotools.stream.store.OnOffStore
 
cleanup() - Method in interface com.gc.iotools.stream.store.Store
Cleans up the Store.
cleanup() - Method in class com.gc.iotools.stream.store.ThresholdStore
 
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.InputStreamFromOutputStream
close() - Method in class com.gc.iotools.stream.is.SizeLimitInputStream
Close the underlying stream.
close() - Method in class com.gc.iotools.stream.is.StatsInputStream
Closes the inner stream.
close() - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
close(long, TimeUnit) - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
 
close() - Method in class com.gc.iotools.stream.os.StatsOutputStream
close() - Method in class com.gc.iotools.stream.utils.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
closeCalled - Variable in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
 
closeOnce() - Method in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
 
closeOnce() - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
 
closeOnce() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
This method is called when the method AbstractInputStreamWrapper.close() is invoked.
closeStreams - Variable in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
If true source and destination streams are closed when AbstractInputStreamWrapper.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.os - package com.gc.iotools.stream.os
Provides classes that extends java.io.OutputStream.
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.
currentPosition - Variable in class com.gc.iotools.stream.is.SizeLimitInputStream
The number of bytes that have been read from the in stream.

D

DECODE - Static variable in class com.gc.iotools.stream.utils.Base64
Specify decoding in first bit.
decode(byte[]) - Static method in class com.gc.iotools.stream.utils.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(byte[], int, int, int) - Static method in class com.gc.iotools.stream.utils.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class com.gc.iotools.stream.utils.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class com.gc.iotools.stream.utils.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class com.gc.iotools.stream.utils.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class com.gc.iotools.stream.utils.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class com.gc.iotools.stream.utils.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class com.gc.iotools.stream.utils.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
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.
destination - Variable in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
The destination OutputStream where data is written.
DO_BREAK_LINES - Static variable in class com.gc.iotools.stream.utils.Base64
Do break lines when encoding.
doRead(InputStream) - Method in class com.gc.iotools.stream.os.OutputStreamToInputStream
This method has to be implemented to use this class.

E

enable(boolean) - Method in class com.gc.iotools.stream.store.OnOffStore
 
ENCODE - Static variable in class com.gc.iotools.stream.utils.Base64
Specify encoding in first bit.
encode(ByteBuffer, ByteBuffer) - Static method in class com.gc.iotools.stream.utils.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded ByteBuffer.
encode(ByteBuffer, CharBuffer) - Static method in class com.gc.iotools.stream.utils.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded CharBuffer.
encodeBytes(byte[]) - Static method in class com.gc.iotools.stream.utils.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class com.gc.iotools.stream.utils.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class com.gc.iotools.stream.utils.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class com.gc.iotools.stream.utils.Base64
Encodes a byte array into Base64 notation.
encodeBytesToBytes(byte[]) - Static method in class com.gc.iotools.stream.utils.Base64
Similar to Base64.encodeBytes(byte[]) but returns a byte array instead of instantiating a String.
encodeBytesToBytes(byte[], int, int, int) - Static method in class com.gc.iotools.stream.utils.Base64
Similar to Base64.encodeBytes(byte[], int, int, int) but returns a byte array instead of instantiating a String.
encodeFileToFile(String, String) - Static method in class com.gc.iotools.stream.utils.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class com.gc.iotools.stream.utils.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class com.gc.iotools.stream.utils.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class com.gc.iotools.stream.utils.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class com.gc.iotools.stream.utils.Base64
Convenience method for encoding data to a file.
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.
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.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.utils.Base64.OutputStream
Flushes the stream (and the enclosing streams).
flushBase64() - Method in class com.gc.iotools.stream.utils.Base64.OutputStream
Method added by PHIL.

G

get(byte[], int, int) - Method in class com.gc.iotools.stream.store.MemoryStore
 
get(byte[], int, int) - Method in class com.gc.iotools.stream.store.OnOffStore
 
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
 
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.
getBitRate() - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the reading bit rate in KB per second.
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 the writing bit rate formatted with a convenient unit.
getBytesLeft() - Method in class com.gc.iotools.stream.is.SizeLimitInputStream
Get the maximum number of bytes left to read before the limit, set in the constructor, is reached.
getBytesRead() - Method in class com.gc.iotools.stream.is.SizeLimitInputStream
Get the number of bytes actually read from this stream.
getExecutor(ExecutionModel) - Static method in class com.gc.iotools.stream.base.ExecutorServiceFactory
 
getMaxSize() - Method in class com.gc.iotools.stream.is.SizeLimitInputStream
Get the number of total bytes (including bytes already read) that can be read from this stream (as set in the constructor).
getPosition() - Method in class com.gc.iotools.stream.store.MemoryStore
 
getRateString(long, long) - Static method in class com.gc.iotools.stream.utils.StreamUtils
Returns a string representing the transfer rate.
getResult() - Method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
Returns the object that was previously returned by the InputStreamFromOutputStream.produce(OutputStream) method.
getResults() - 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.
getSize() - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the bytes read until now 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.store.ThresholdStore
 
getStore() - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
Return the underlying store where the cache of data is kept.
getTime(TimeUnit) - Method in class com.gc.iotools.stream.is.StatsInputStream
Returns the time spent until now waiting for the internal stream to respond.
getTime(TimeUnit) - Method in class com.gc.iotools.stream.os.StatsOutputStream
Returns the time spent until now waiting for the internal stream to write the data.
getTreshold() - Method in class com.gc.iotools.stream.store.ThresholdStore
 
GZIP - Static variable in class com.gc.iotools.stream.utils.Base64
Specify that data should be gzip-compressed in second bit.

I

in - Variable in class com.gc.iotools.stream.is.SizeLimitInputStream
The underlying stream from which data are read.
indexOf(byte[], byte[]) - Static method in class com.gc.iotools.stream.utils.ArrayTools
Find the index of the contained array in the src array.
innerRead(byte[], int, int) - Method in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
 
innerRead(byte[], int, int) - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
 
innerRead(byte[], int, int) - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
 
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, 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(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.

M

mark(int) - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
mark(int) - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
Marks the current position in this input stream.
mark(int) - Method in class com.gc.iotools.stream.is.SizeLimitInputStream
mark(int) - Method in class com.gc.iotools.stream.is.StatsInputStream
mark(int) - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Marks the current position in this input stream.
markLimit - Variable in class com.gc.iotools.stream.is.RandomAccessInputStream
 
markPosition - Variable in class com.gc.iotools.stream.is.RandomAccessInputStream
 
markPosition - Variable in class com.gc.iotools.stream.is.SizeLimitInputStream
The position in the stream when mark(int) was called.
markSupported() - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
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.SizeLimitInputStream
markSupported() - Method in class com.gc.iotools.stream.is.StatsInputStream
markSupported() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
maxSize - Variable in class com.gc.iotools.stream.is.SizeLimitInputStream
The number of bytes to read at most from the 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
 

N

NO_OPTIONS - Static variable in class com.gc.iotools.stream.utils.Base64
No options specified.

O

OnOffStore - Class in com.gc.iotools.stream.store
 
OnOffStore(SeekableStore) - Constructor for class com.gc.iotools.stream.store.OnOffStore
 
ORDERED - Static variable in class com.gc.iotools.stream.utils.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc- 1940.html.
OutputStreamToInputStream<T> - Class in com.gc.iotools.stream.os
This class is an OutputStream that, when extended, allows to read the data written to it from the InputStream inside the method #doRead().
OutputStreamToInputStream() - 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
 

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.
put(byte[], int, int) - Method in class com.gc.iotools.stream.store.MemoryStore
 
put(byte[], int, int) - Method in class com.gc.iotools.stream.store.OnOffStore
 
put(byte[], int, int) - Method in interface com.gc.iotools.stream.store.Store
 
put(byte[], int, int) - Method in class com.gc.iotools.stream.store.ThresholdStore
 

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
 
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
 
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.InputStreamFromOutputStream
read(byte[], int, int) - Method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
read() - Method in class com.gc.iotools.stream.is.SizeLimitInputStream
read(byte[]) - Method in class com.gc.iotools.stream.is.SizeLimitInputStream
read(byte[], int, int) - Method in class com.gc.iotools.stream.is.SizeLimitInputStream
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.utils.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class com.gc.iotools.stream.utils.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
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.
reset() - Method in class com.gc.iotools.stream.is.ChunkInputStream
.
reset() - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
Repositions this stream to the position at the time the mark method was last called on this input stream.
reset() - Method in class com.gc.iotools.stream.is.SizeLimitInputStream
reset() - Method in class com.gc.iotools.stream.is.StatsInputStream
reset() - Method in class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Repositions this stream to the position at the time the mark method was last called on this input stream.
resumeEncoding() - Method in class com.gc.iotools.stream.utils.Base64.OutputStream
Resumes encoding of the stream.

S

seek(long) - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
.
seek(long) - Method in class com.gc.iotools.stream.store.MemoryStore
 
seek(long) - Method in class com.gc.iotools.stream.store.OnOffStore
 
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.
setDefaultBufferSize(int) - Static method in class com.gc.iotools.stream.is.InputStreamFromOutputStream
Set the size for the pipe circular buffer for the newly created InputStreamFromOutputStream.
setDefaultBufferSize(int) - Static method in class com.gc.iotools.stream.os.OutputStreamToInputStream
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
 
setStore(Store) - Method in class com.gc.iotools.stream.is.RandomAccessInputStream
 
SizeLimitInputStream - Class in com.gc.iotools.stream.is
An input stream wrapper that will read only a definite number of bytes from the underlying stream.
SizeLimitInputStream(InputStream, long) - Constructor for class com.gc.iotools.stream.is.SizeLimitInputStream
Create a new SizeLimitInputStream from another stream given a size limit.
SizeReaderInputStream - Class in com.gc.iotools.stream.is
Deprecated.  
SizeReaderInputStream(InputStream) - Constructor for class com.gc.iotools.stream.is.SizeReaderInputStream
Deprecated.  
SizeReaderInputStream(InputStream, boolean) - Constructor for class com.gc.iotools.stream.is.SizeReaderInputStream
Deprecated.  
SizeRecorderOutputStream - Class in com.gc.iotools.stream.os
Deprecated.  
SizeRecorderOutputStream(OutputStream) - Constructor for class com.gc.iotools.stream.os.SizeRecorderOutputStream
Deprecated.  
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.SizeLimitInputStream
skip(long) - Method in class com.gc.iotools.stream.is.StatsInputStream
source - Variable in class com.gc.iotools.stream.base.AbstractInputStreamWrapper
 
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
Gather some statistics of 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.
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.
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.
suspendEncoding() - Method in class com.gc.iotools.stream.utils.Base64.OutputStream
Suspends encoding of the stream.

T

TeeInputStreamOutputStream - Class in com.gc.iotools.stream.is
Copies the data from the underlying InputStream to the OutputStream passed in the constructor.
TeeInputStreamOutputStream(InputStream, OutputStream) - Constructor for class com.gc.iotools.stream.is.TeeInputStreamOutputStream
Creates a TeeInputStreamOutputStream 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 TeeInputStreamOutputStream and saves its argument, the input stream source and the output stream destination 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
 
ThresholdStore(int, File) - Constructor for class com.gc.iotools.stream.store.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.

U

URL_SAFE - Static variable in class com.gc.iotools.stream.utils.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.

V

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.ExecutionModel
Returns an array containing the constants of this enum type, in the order they are declared.

W

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[], int, int) - Method in class com.gc.iotools.stream.utils.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
write(int) - Method in class com.gc.iotools.stream.utils.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.

A B C D E F G I M N O P R S T U V W

Copyright © 2008-2009. All Rights Reserved.