类 TapeArchiveChartLoader

    • 方法详细资料

      • toNamedInputStreamEntries

        protected Iterable<? extends Map.Entry<? extends String,​? extends InputStream>> toNamedInputStreamEntries​(org.kamranzafar.jtar.TarInputStream stream)
                                                                                                                 throws IOException
        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.

        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 returned
        返回:
        a non-null Iterable of Map.Entry instances representing named InputStreams
        抛出:
        IOException - if there is a problem reading from the supplied TarInputStream
      • close

        public void close()
                   throws IOException
        Does nothing on purpose.
        抛出:
        IOException - if a subclass has overridden this method and an error occurs