public class ExportingInputStream extends InputStream
| Constructor and Description |
|---|
ExportingInputStream(Set<Synchronizer<?,?>> synchronizers,
Map<String,org.rhq.core.domain.sync.ExporterMessages> messagesPerExporter)
Constructs a new exporting input stream with the default buffer size of 64KB that zips up
the results.
|
ExportingInputStream(Set<Synchronizer<?,?>> synchronizers,
Map<String,org.rhq.core.domain.sync.ExporterMessages> messagesPerExporter,
int size,
boolean zip)
Constructs a new exporting input stream with the default buffer size of 64KB.
|
public ExportingInputStream(Set<Synchronizer<?,?>> synchronizers, Map<String,org.rhq.core.domain.sync.ExporterMessages> messagesPerExporter) throws IOException
IOExceptionExportingInputStream(Set, Map, int, boolean)public ExportingInputStream(Set<Synchronizer<?,?>> synchronizers, Map<String,org.rhq.core.domain.sync.ExporterMessages> messagesPerExporter, int size, boolean zip) throws IOException
synchronizers - the synchronizers to invoke when producing the export filemessagesPerExporter - a reference to a map of messages that the exporters will use to produce additional info about the exportsize - the size in bytes of the intermediate bufferzip - whether to zip the export dataIOException - on failurepublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreamCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.