Skip navigation links
A B C D F I N O R W 

A

AbstractBufferedDataFetcher - Class in net.markenwerk.utils.data.fetcher
AbstractBufferedDataFetcher is a sensible base implementation of DataFetcher that uses a byte[] as buffer, to while copying all bytes from an InputStream to an OutputStream by sequentially reading from the InputStream into the buffer and then writing from the buffer to the OutputStream.
AbstractBufferedDataFetcher() - Constructor for class net.markenwerk.utils.data.fetcher.AbstractBufferedDataFetcher
 
AbstractDataFetcher - Class in net.markenwerk.utils.data.fetcher
AbstractDataFetcher is a sensible base implementation of DataFetcher.
AbstractDataFetcher() - Constructor for class net.markenwerk.utils.data.fetcher.AbstractDataFetcher
 

B

BufferedDataFetcher - Class in net.markenwerk.utils.data.fetcher
AbstractBufferedDataFetcher is a sensible base implementation of DataFetcher that uses a byte[] as buffer, while copying all bytes from an InputStream to an OutputStream by sequentially reading from the InputStream into the buffer and then writing from the buffer to the OutputStream.
BufferedDataFetcher() - Constructor for class net.markenwerk.utils.data.fetcher.BufferedDataFetcher
Creates a new BufferedDataFetcher with the default buffer size of 1024 bytes.
BufferedDataFetcher(int) - Constructor for class net.markenwerk.utils.data.fetcher.BufferedDataFetcher
Creates a new BufferedDataFetcher with the given buffer size.

C

close() - Method in class net.markenwerk.commons.nulls.NullReader
 
close() - Method in class net.markenwerk.commons.nulls.NullWriter
 
copy(InputStream, OutputStream) - Method in class net.markenwerk.utils.data.fetcher.AbstractDataFetcher
 
copy(InputStream, OutputStream, boolean, boolean) - Method in class net.markenwerk.utils.data.fetcher.AbstractDataFetcher
 
copy(InputStream, OutputStream, DataFetchProgressListener) - Method in class net.markenwerk.utils.data.fetcher.AbstractDataFetcher
 
copy(InputStream, OutputStream, DataFetchProgressListener, boolean, boolean) - Method in class net.markenwerk.utils.data.fetcher.AbstractDataFetcher
 
copy(InputStream, OutputStream) - Method in interface net.markenwerk.utils.data.fetcher.DataFetcher
Copies the content of a given InputStream into a given OutputStream.
copy(InputStream, OutputStream, boolean, boolean) - Method in interface net.markenwerk.utils.data.fetcher.DataFetcher
Copies the content of a given InputStream into a given OutputStream.
copy(InputStream, OutputStream, DataFetchProgressListener) - Method in interface net.markenwerk.utils.data.fetcher.DataFetcher
Copies the content of a given InputStream into a given OutputStream.
copy(InputStream, OutputStream, DataFetchProgressListener, boolean, boolean) - Method in interface net.markenwerk.utils.data.fetcher.DataFetcher
Copies the content of a given InputStream into a given OutputStream.
createBuffer(int) - Static method in class net.markenwerk.utils.data.fetcher.AbstractBufferedDataFetcher
Safely creates a new byte[] to be used as a buffer.

D

DataFetcher - Interface in net.markenwerk.utils.data.fetcher
A DataFetcher can fetch the entire content of a given InputStream into a fresh byte[] or copy it into a given OutputStream.
DataFetchException - Exception in net.markenwerk.utils.data.fetcher
A DataFetchException is a specialized IOException that indicates that a fetch operation of a DataFetcher has failed.
DataFetchException(String, Throwable) - Constructor for exception net.markenwerk.utils.data.fetcher.DataFetchException
Creates a new DataFetchException with the given message and cause.
DataFetchException(String) - Constructor for exception net.markenwerk.utils.data.fetcher.DataFetchException
Creates a new DataFetchException with the given message.
DataFetchException(Throwable) - Constructor for exception net.markenwerk.utils.data.fetcher.DataFetchException
Creates a new DataFetchException with the given cause.
DataFetchProgressListener - Interface in net.markenwerk.utils.data.fetcher
 
DEFAULT_BUFEFR_SIZE - Static variable in class net.markenwerk.utils.data.fetcher.AbstractBufferedDataFetcher
The default buffer size of 1024 bytes.
doCopy(InputStream, OutputStream, DataFetchProgressListener) - Method in class net.markenwerk.utils.data.fetcher.AbstractBufferedDataFetcher
 
doCopy(InputStream, OutputStream, DataFetchProgressListener) - Method in class net.markenwerk.utils.data.fetcher.AbstractDataFetcher
Copies the content of a given InputStream into a given OutputStream.

F

fetch(InputStream) - Method in class net.markenwerk.utils.data.fetcher.AbstractDataFetcher
 
fetch(InputStream, boolean) - Method in class net.markenwerk.utils.data.fetcher.AbstractDataFetcher
 
fetch(InputStream, DataFetchProgressListener) - Method in class net.markenwerk.utils.data.fetcher.AbstractDataFetcher
 
fetch(InputStream, DataFetchProgressListener, boolean) - Method in class net.markenwerk.utils.data.fetcher.AbstractDataFetcher
 
fetch(InputStream) - Method in interface net.markenwerk.utils.data.fetcher.DataFetcher
Fetches the content of a given InputStream into a fresh byte[].
fetch(InputStream, boolean) - Method in interface net.markenwerk.utils.data.fetcher.DataFetcher
Fetches the content of a given InputStream into a fresh byte[].
fetch(InputStream, DataFetchProgressListener, boolean) - Method in interface net.markenwerk.utils.data.fetcher.DataFetcher
Fetches the content of a given InputStream into a fresh byte[].
fetch(InputStream, DataFetchProgressListener) - Method in interface net.markenwerk.utils.data.fetcher.DataFetcher
Fetches the content of a given InputStream into a fresh byte[].
flush() - Method in class net.markenwerk.commons.nulls.NullWriter
 

I

IdleDataFetchProgressListener - Class in net.markenwerk.utils.data.fetcher
IdleDataFetchProgressListener() - Constructor for class net.markenwerk.utils.data.fetcher.IdleDataFetchProgressListener
 

N

net.markenwerk.commons.nulls - package net.markenwerk.commons.nulls
 
net.markenwerk.utils.data.fetcher - package net.markenwerk.utils.data.fetcher
 
NullInputStream - Class in net.markenwerk.commons.nulls
A NullInputStream is an InputStream that does nothing.
NullInputStream() - Constructor for class net.markenwerk.commons.nulls.NullInputStream
 
NullOutputStream - Class in net.markenwerk.commons.nulls
A NullOutputStream is an OutputStream that does nothing.
NullOutputStream() - Constructor for class net.markenwerk.commons.nulls.NullOutputStream
 
NullReader - Class in net.markenwerk.commons.nulls
A NullReader is an Reader that does nothing.
NullReader() - Constructor for class net.markenwerk.commons.nulls.NullReader
 
NullWriter - Class in net.markenwerk.commons.nulls
A NullWriter is a Writer that does nothing.
NullWriter() - Constructor for class net.markenwerk.commons.nulls.NullWriter
 

O

obtainBuffer() - Method in class net.markenwerk.utils.data.fetcher.AbstractBufferedDataFetcher
obtainBuffer() - Method in class net.markenwerk.utils.data.fetcher.BufferedDataFetcher
 
onFailed(DataFetchException, Long) - Method in interface net.markenwerk.utils.data.fetcher.DataFetchProgressListener
Indicates that the process of fetching bytes from an InputStream has failed.
onFailed(DataFetchException, Long) - Method in class net.markenwerk.utils.data.fetcher.IdleDataFetchProgressListener
 
onFinished() - Method in interface net.markenwerk.utils.data.fetcher.DataFetchProgressListener
Indicates that the process of fetching bytes from an InputStream has finished.
onFinished() - Method in class net.markenwerk.utils.data.fetcher.IdleDataFetchProgressListener
 
onProgress(long) - Method in interface net.markenwerk.utils.data.fetcher.DataFetchProgressListener
Indicates that the process of fetching bytes from an InputStream has progressed.
onProgress(long) - Method in class net.markenwerk.utils.data.fetcher.IdleDataFetchProgressListener
 
onStarted() - Method in interface net.markenwerk.utils.data.fetcher.DataFetchProgressListener
Indicates that the process of fetching bytes from an InputStream has started.
onStarted() - Method in class net.markenwerk.utils.data.fetcher.IdleDataFetchProgressListener
 
onSuccedded(Long) - Method in interface net.markenwerk.utils.data.fetcher.DataFetchProgressListener
Indicates that the process of fetching bytes from an InputStream has succeeded.
onSuccedded(Long) - Method in class net.markenwerk.utils.data.fetcher.IdleDataFetchProgressListener
 

R

read() - Method in class net.markenwerk.commons.nulls.NullInputStream
 
read(char[], int, int) - Method in class net.markenwerk.commons.nulls.NullReader
 
returnBuffer(byte[]) - Method in class net.markenwerk.utils.data.fetcher.AbstractBufferedDataFetcher
returnBuffer(byte[]) - Method in class net.markenwerk.utils.data.fetcher.BufferedDataFetcher
 

W

write(int) - Method in class net.markenwerk.commons.nulls.NullOutputStream
 
write(char[], int, int) - Method in class net.markenwerk.commons.nulls.NullWriter
 
A B C D F I N O R W 
Skip navigation links

Copyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.