E - the type of the entries in the decorated output service.public abstract class DecoratingOutputService<E extends Entry> extends DecoratingContainer<E,OutputService<E>> implements OutputService<E>
DecoratingInputServicecontainer| Modifier | Constructor and Description |
|---|---|
protected |
DecoratingOutputService() |
protected |
DecoratingOutputService(OutputService<E> output) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this stream.
|
OutputSocket<E> |
output(E entry)
Returns an output socket for writing to the given entry.
|
entry, iterator, size, toStringequals, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected DecoratingOutputService()
protected DecoratingOutputService(@WillCloseWhenClosed OutputService<E> output)
@DischargesObligation
public void close()
throws IOException
Streamclose in interface Closeableclose in interface AutoCloseableclose in interface Stream<E extends Entry>close in class DecoratingContainer<E extends Entry,OutputService<E extends Entry>>IOExceptionpublic OutputSocket<E> output(E entry)
OutputServiceoutput in interface OutputService<E extends Entry>entry - the entry, which must be the
local target of the
returned output socket.Copyright © 2012–2016 Schlichtherle IT Services. All rights reserved.