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.IOException
public String md5AsHex() throws IOException
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void setStatus(org.eclipse.core.runtime.IStatus status)
setStatus
in interface org.eclipse.equinox.internal.provisional.p2.repository.IStateful
public org.eclipse.core.runtime.IStatus getStatus()
getStatus
in interface org.eclipse.equinox.internal.provisional.p2.repository.IStateful
Copyright © 2008–2015 Eclipse Foundation. All rights reserved.