src/main/java/wycc/commands/Inspect.java
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()));
		}
	}
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()));
		}
	}
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.

@param entry
@param ct
@throws IOException
Inspect a given path entry .