question: public static Result fromContent ( String content , String format ) throws IllegalArgumentException { if ( content == null ) { throw new IllegalArgumentException ( "content cannot be null" ) ; } if ( format == null ) { throw new IllegalArgumentException ( "format cannot be null" ) ; } try { return fromContent ( new InputStreamReader ( new ByteArrayInputStream ( content . getBytes ( "UTF-8" ) ) , "UTF-8" ) , format ) ; } catch ( IOException e ) { throw new IllegalArgumentException ( e . getMessage ( ) ) ; } }
target:  Create an evaluator object from a structured content document (XML, JSON, etc) as a string.