@ThreadSafe public class LockOutputStream extends DecoratingOutputStream
Lock.LockInputStreamout| Modifier | Constructor and Description |
|---|---|
protected |
LockOutputStream(Lock lock) |
|
LockOutputStream(Lock lock,
OutputStream out) |
protected LockOutputStream(Lock lock)
public LockOutputStream(Lock lock, @WillCloseWhenClosed OutputStream out)
@DischargesObligation
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class DecoratingOutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class DecoratingOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class DecoratingOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class DecoratingOutputStreamIOExceptionCopyright © 2012–2014 Schlichtherle IT Services. All rights reserved.