private void inspect ( Path . Entry < ? > entry , Content . Type < ? > ct , boolean garbage ) throws IOException { Object o = entry . read ( ) ; if ( o instanceof SyntacticHeap ) { new SyntacticHeapPrinter ( new PrintWriter ( out ) , garbage ) . print ( ( SyntacticHeap ) o ) ; } else { inspectBinaryFile ( readAllBytes ( entry . inputStream ( ) ) ) ; } }
Inspect a given path entry .