public static String compactDump ( INode node , boolean showHidden ) { StringBuilder result = new StringBuilder ( ) ; try { compactDump ( node , showHidden , "" , result ) ; } catch ( IOException e ) { return e . getMessage ( ) ; } return result . toString ( ) ; }
Creates a string representation of the given node . Useful for debugging .