public String serialize ( ) { StringBuilder sb = new StringBuilder ( ) ; boolean first = true ; for ( String key : options . keySet ( ) ) { if ( first ) { first = false ; } else { sb . append ( ' ' ) ; } sb . append ( key ) . append ( ' ' ) . append ( options . get ( key ) ) ; } return sb . toString ( ) ; }
Serializes to the format name = value ; name = value .