public class TapeArchiveChartLoader extends StreamOrientedChartLoader<org.kamranzafar.jtar.TarInputStream>
StreamOrientedChartLoader<TarInputStream> that creates
ChartOuterClass.Chart instances from TarInputStream instances.| 构造器和说明 |
|---|
TapeArchiveChartLoader()
Creates a new
TapeArchiveChartLoader. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
Does nothing on purpose.
|
protected Iterable<? extends Map.Entry<? extends String,? extends InputStream>> |
toNamedInputStreamEntries(org.kamranzafar.jtar.TarInputStream stream)
Converts the supplied
TarInputStream into an Iterable of Map.Entry instances, each of which consists of
an InputStream representing an entry within the archive
together with its name. |
createTemplateBuilder, installAny, installConfig, installMetadata, load, loadload, loadpublic TapeArchiveChartLoader()
TapeArchiveChartLoader.protected Iterable<? extends Map.Entry<? extends String,? extends InputStream>> toNamedInputStreamEntries(org.kamranzafar.jtar.TarInputStream stream) throws IOException
TarInputStream into an Iterable of Map.Entry instances, each of which consists of
an InputStream representing 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 - the TarInputStream to read; 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 TarInputStreampublic void close()
throws IOException
IOException - if a subclass has overridden this method
and an error occursCopyright © 2020. All rights reserved.