类 ZipInputStreamChartLoader
- java.lang.Object
-
- org.microbean.helm.chart.AbstractChartLoader<T>
-
- org.microbean.helm.chart.StreamOrientedChartLoader<ZipInputStream>
-
- org.microbean.helm.chart.ZipInputStreamChartLoader
-
- 所有已实现的接口:
Closeable,AutoCloseable
public class ZipInputStreamChartLoader extends StreamOrientedChartLoader<ZipInputStream>
AStreamOrientedChartLoader<ZipInputStream>that createsChartOuterClass.Chartinstances fromZipInputStreaminstances.
-
-
构造器概要
构造器 构造器 说明 ZipInputStreamChartLoader()Creates a newZipInputStreamChartLoader.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()Does nothing on purpose.protected Iterable<? extends Map.Entry<? extends String,? extends InputStream>>toNamedInputStreamEntries(ZipInputStream stream)Converts the suppliedZipInputStreaminto anIterableofMap.Entryinstances, each of which consists of anInputStreamrepresenting an entry within the archive together with its name.-
从类继承的方法 org.microbean.helm.chart.StreamOrientedChartLoader
createTemplateBuilder, installAny, installConfig, installMetadata, load, load
-
从类继承的方法 org.microbean.helm.chart.AbstractChartLoader
load, load
-
-
-
-
构造器详细资料
-
ZipInputStreamChartLoader
public ZipInputStreamChartLoader()
Creates a newZipInputStreamChartLoader.
-
-
方法详细资料
-
toNamedInputStreamEntries
protected Iterable<? extends Map.Entry<? extends String,? extends InputStream>> toNamedInputStreamEntries(ZipInputStream stream) throws IOException
Converts the suppliedZipInputStreaminto anIterableofMap.Entryinstances, each of which consists of anInputStreamrepresenting an entry within the archive together with its name.This method never returns
null.Overrides of this method are not permitted to return
null.- 指定者:
toNamedInputStreamEntries在类中StreamOrientedChartLoader<ZipInputStream>- 参数:
stream- theZipInputStreamto read; must be non-nullor an effectively emptyIterablewill be returned- 返回:
- a non-
nullIterableofMap.Entryinstances representing namedInputStreams - 抛出:
IOException- if there is a problem reading from the suppliedZipInputStream
-
close
public void close() throws IOExceptionDoes nothing on purpose.- 抛出:
IOException- if a subclass has overridden this method and an error occurs
-
-