InputStreams. Custom class to allow try-with-resources using output from ResourceAccessor#openStreams(String, String).
| Modifier and Type | Field and Description |
|---|---|
| private final LinkedHashMap |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void | |
| protected boolean | |
| public void | |
| public void | forEach(Consumer<? super InputStream>
The action to be performed for each element action)Overrides default java. Performs the given action for each element of the |
| public List | |
| public boolean | |
| public Iterator | |
| public int | |
| public Spliterator | spliterator()
Overrides default java. Creates a |
| streams | back to summary |
|---|---|
| private final LinkedHashMap<URI, InputStream> streams | |
| InputStreamList | back to summary |
|---|---|
| public InputStreamList() | |
| InputStreamList | back to summary |
|---|---|
| public InputStreamList(URI uri, InputStream stream) | |
| add | back to summary |
|---|---|
| public boolean add(URI uri, InputStream inputStream) | |
| addAll | back to summary |
|---|---|
| public void addAll(InputStreamList streams) | |
| alreadySaw | back to summary |
|---|---|
| protected boolean alreadySaw(URI uri) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Close the streams in this collection.
| |
| forEach | back to summary |
|---|---|
| public void forEach(Consumer<? super InputStream> action) Overrides default java. Doc from java. Performs the given action for each element of the The behavior of this method is unspecified if the action performs side-effects that modify the underlying source of elements, unless an overriding class has specified a concurrent modification policy.
| |
| getURIs | back to summary |
|---|---|
| public List | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |
| size | back to summary |
|---|---|
| public int size() | |
| spliterator | back to summary |
|---|---|
| public Spliterator Overrides default java. Doc from java. Creates a
| |