src/main/java/org/codehaus/plexus/archiver/tar/TarFile.java
public InputStream getInputStream( TarArchiveEntry entry )
        throws IOException
    {
        if ( entry.equals( (Object) currentEntry )  &&  inputStream != null )
        {
            return new FilterInputStream( inputStream )
            {
                public void close()
                    throws IOException
                {
                    // Does nothing.
                }
            };
        }
        return getInputStream( entry, currentEntry );
    }
public InputStream getInputStream( TarArchiveEntry entry )
        throws IOException
    {
        if ( entry.equals( (Object) currentEntry )  &&  inputStream != null )
        {
            return new FilterInputStream( inputStream )
            {
                public void close()
                    throws IOException
                {
                    // Does nothing.
                }
            };
        }
        return getInputStream( entry, currentEntry );
    }
Returns an {@link InputStream} with the given entries
contents. This {@link InputStream} may be closed: Nothing
happens in that case, because an actual close would invalidate
the underlying {@link TarArchiveInputStream}.