public void setContent ( final String contentString , final String type ) { final Content newContent = new Content ( ) ; newContent . setType ( type == null ? Content . HTML : type ) ; newContent . setValue ( contentString ) ; final ArrayList < Content > contents = new ArrayList < Content > ( ) ; contents . add ( newContent ) ; setContents ( contents ) ; }
Set content of entry .