E
- the type of the entries in the decorated input service.public abstract class DecoratingInputService<E extends Entry> extends DecoratingContainer<E,InputService<E>> implements InputService<E>
DecoratingOutputService
container
Modifier | Constructor and Description |
---|---|
protected |
DecoratingInputService() |
protected |
DecoratingInputService(InputService<E> input) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this stream.
|
InputSocket<E> |
input(String name)
Returns an input socket for reading from the entry with the given name.
|
entry, iterator, size, toString
equals, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected DecoratingInputService()
protected DecoratingInputService(@WillCloseWhenClosed InputService<E> input)
@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,InputService<E extends Entry>>
IOException
public InputSocket<E> input(String name)
InputService
input
in interface InputService<E extends Entry>
name
- an entry name
.Copyright © 2012–2016 Schlichtherle IT Services. All rights reserved.