src/main/java/au/org/dcw/twitter/ingest/ui/TweetSanitiserUI.java
private String str(final Map<String, Object> m, final int indentLevel) {
        StringBuilder sb = new StringBuilder();
        m.forEach((k, v) -> {
            sb.append(leadingSpaces(indentLevel)).append("- ").append(k).append("\n");

            Map mapValue = (Map) v;
            if (v != null) {
                sb.append(str(mapValue, indentLevel + 1));
            }
        });
        return sb.toString();
    }
/**
     * Converts a nested map (keys only) to a formatted String. Ignores values
     * unless they're nested maps. Recursively called, making use of
     * <code>indentLevel</code> to structure the text.
     *
     * @param m The nested map to represent as a String.
     * @param indentLevel How deeply we've recursed.
     * @return A formatted String representation of a nested map.
     */
Converts a nested map (keys only) to a formatted String. Ignores values
unless they're nested maps. Recursively called, making use of
indentLevel to structure the text.

@param m The nested map to represent as a String.
@param indentLevel How deeply we've recursed.
@return A formatted String representation of a nested map.
Converts a nested map ( keys only ) to a formatted String . Ignores values unless they ' re nested maps . Recursively called making use of indentLevel to structure the text . @param m The nested map to represent as a String . @param indentLevel How deeply we ' ve recursed . @return A formatted String representation of a nested map .
private String str(final Map<String, Object> m, final int indentLevel) {
        StringBuilder sb = new StringBuilder();
        m.forEach((k, v) -> {
            sb.append(leadingSpaces(indentLevel)).append("- ").append(k).append("\n");
            Map mapValue = (Map) v;
            if (v != null) {
                sb.append(str(mapValue, indentLevel + 1));
            }
        });
        return sb.toString();
    }
private String str ( final Map < String , Object > m , final int indentLevel ) { StringBuilder sb = new StringBuilder ( ) ; m . forEach ( ( k , v ) -> { sb . append ( leadingSpaces ( indentLevel ) ) . append ( "- " ) . append ( k ) . append ( "\n" ) ; Map mapValue = ( Map ) v ; if ( v != null ) { sb . append ( str ( mapValue , indentLevel + 1 ) ) ; } } ) ; return sb . toString ( ) ; }
Converts a nested map (keys only) to a formatted String.
Converts a nested map ( keys only ) to a formatted String .