@Override public String read(String pattern){
  return read(Pattern.compile(pattern,Pattern.DOTALL | Pattern.MULTILINE));
}

@ Override public String read ( String pattern ) { return read ( Pattern . compile ( pattern , Pattern . DOTALL | Pattern . MULTILINE ) ) ; }
will attempt to read the string matching the given parameter . if the string matched with this pattern does not start at the current point in the document , the result will be considered to be negative .
