类 TapeArchiveChartLoader
- java.lang.Object
-
- org.microbean.helm.chart.AbstractChartLoader<T>
-
- org.microbean.helm.chart.StreamOrientedChartLoader<org.kamranzafar.jtar.TarInputStream>
-
- org.microbean.helm.chart.TapeArchiveChartLoader
-
- 所有已实现的接口:
Closeable,AutoCloseable
public class TapeArchiveChartLoader extends StreamOrientedChartLoader<org.kamranzafar.jtar.TarInputStream>
AStreamOrientedChartLoader<TarInputStream>that createsChartOuterClass.Chartinstances fromTarInputStreaminstances.
-
-
构造器概要
构造器 构造器 说明 TapeArchiveChartLoader()Creates a newTapeArchiveChartLoader.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()Does nothing on purpose.protected Iterable<? extends Map.Entry<? extends String,? extends InputStream>>toNamedInputStreamEntries(org.kamranzafar.jtar.TarInputStream stream)Converts the suppliedTarInputStreaminto 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
-
-
-
-
构造器详细资料
-
TapeArchiveChartLoader
public TapeArchiveChartLoader()
Creates a newTapeArchiveChartLoader.
-
-
方法详细资料
-
toNamedInputStreamEntries
protected Iterable<? extends Map.Entry<? extends String,? extends InputStream>> toNamedInputStreamEntries(org.kamranzafar.jtar.TarInputStream stream) throws IOException
Converts the suppliedTarInputStreaminto 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<org.kamranzafar.jtar.TarInputStream>- 参数:
stream- theTarInputStreamto 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 suppliedTarInputStream
-
close
public void close() throws IOExceptionDoes nothing on purpose.- 抛出:
IOException- if a subclass has overridden this method and an error occurs
-
-