public class URLChartLoader extends StreamOrientedChartLoader<URL>
StreamOrientedChartLoader<URL> that creates
ChartOuterClass.Chart instances from URL instances.
This class is safe for concurrent use by multiple threads.
toNamedInputStreamEntries(URL),
StreamOrientedChartLoader| Constructor and Description |
|---|
URLChartLoader()
Creates a new
URLChartLoader. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes resources opened by this
URLChartLoader's toNamedInputStreamEntries(URL) method. |
protected Iterable<? extends Map.Entry<? extends String,? extends InputStream>> |
toNamedInputStreamEntries(URL url)
Converts the supplied
URL into an Iterable of
Map.Entry instances, each of which consists of an InputStream representing a resource within a Helm chart together
with its (relative to the chart) name. |
createTemplateBuilder, installAny, installConfig, installMetadata, load, loadloadpublic URLChartLoader()
URLChartLoader.protected Iterable<? extends Map.Entry<? extends String,? extends InputStream>> toNamedInputStreamEntries(URL url) throws IOException
URL into an Iterable of
Map.Entry instances, each of which consists of an InputStream representing a resource within a Helm chart together
with its (relative to the chart) name.
This method never returns null.
Overrides of this method are not permitted to return null.
toNamedInputStreamEntries in class StreamOrientedChartLoader<URL>url - the URL to dereference; must be non-null or an effectively empty Iterable will be returnednull Iterable of Map.Entry
instances representing named InputStreamsIOException - if there is a problem reading from the
supplied URLpublic void close() throws IOException
URLChartLoader's toNamedInputStreamEntries(URL) method.IOException - if a subclass has overridden this method
and an error occursCopyright © 2017–2017, MicroBean. All rights reserved.