public class ProbeOutputStream extends OutputStream implements org.eclipse.equinox.internal.provisional.p2.repository.IStateful
| Constructor and Description |
|---|
ProbeOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
Set<String> |
getFilesInZip() |
org.eclipse.core.runtime.IStatus |
getStatus() |
boolean |
isClosed() |
String |
md5AsHex() |
void |
setStatus(org.eclipse.core.runtime.IStatus status) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
int |
writtenBytes() |
public int writtenBytes()
public boolean isClosed()
public Set<String> getFilesInZip() throws IOException
ZipInputStream; empty
if written data was not a zip file.IOExceptionpublic String md5AsHex() throws IOException
IOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void setStatus(org.eclipse.core.runtime.IStatus status)
setStatus in interface org.eclipse.equinox.internal.provisional.p2.repository.IStatefulpublic org.eclipse.core.runtime.IStatus getStatus()
getStatus in interface org.eclipse.equinox.internal.provisional.p2.repository.IStatefulCopyright © 2008-2015 Eclipse Foundation. All Rights Reserved.