public String textOutput ( Contents contents ) { StringBuilder output = new StringBuilder ( ) ; output . append ( "\t" + Contents . COLUMN_TABLE_NAME + ": " + contents . getTableName ( ) ) ; output . append ( "\n\t" + Contents . COLUMN_DATA_TYPE + ": " + contents . getDataType ( ) ) ; output . append ( "\n\t" + Contents . COLUMN_IDENTIFIER + ": " + contents . getIdentifier ( ) ) ; output . append ( "\n\t" + Contents . COLUMN_DESCRIPTION + ": " + contents . getDescription ( ) ) ; output . append ( "\n\t" + Contents . COLUMN_LAST_CHANGE + ": " + contents . getLastChange ( ) ) ; output . append ( "\n\t" + Contents . COLUMN_MIN_X + ": " + contents . getMinX ( ) ) ; output . append ( "\n\t" + Contents . COLUMN_MIN_Y + ": " + contents . getMinY ( ) ) ; output . append ( "\n\t" + Contents . COLUMN_MAX_X + ": " + contents . getMaxX ( ) ) ; output . append ( "\n\t" + Contents . COLUMN_MAX_Y + ": " + contents . getMaxY ( ) ) ; output . append ( "\n" + textOutput ( contents . getSrs ( ) ) ) ; return output . toString ( ) ; }
Text output from a Contents