private void writeString(String text,StringBuilder builder,int resId,String lineBreak){
  if (text == null || text.length() == 0) {
    text=context.getString(R.string.value_unknown);
  }
  builder.append(context.getString(resId,text));
  builder.append(lineBreak);
}

private void writeString ( String text , StringBuilder builder , int resId , String lineBreak ) { if ( text == null || text . length ( ) == 0 ) { text = context . getString ( R . string . value_unknown ) ; } builder . append ( context . getString ( resId , text ) ) ; builder . append ( lineBreak ) ; }
writes a string to a string builder .
