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>
DecoratingInputService
container
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, toString
equals, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected DecoratingOutputService()
protected DecoratingOutputService(@WillCloseWhenClosed OutputService<E> output)
@DischargesObligation public void close() throws IOException
Stream
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Stream<E extends Entry>
close
in class DecoratingContainer<E extends Entry,OutputService<E extends Entry>>
IOException
public OutputSocket<E> output(E entry)
OutputService
output
in interface OutputService<E extends Entry>
entry
- the entry, which must be the
local target of the
returned output socket.Copyright © 2012–2018 Schlichtherle IT Services. All rights reserved.