private boolean containsSingleMetric(BufferedReader reader) throws FormatParseException {
  try {
    reader.mark(1);
    char firstChar=(char)reader.read();
    reader.reset();
    return firstChar == '{';
  }
 catch (  IOException e) {
    throw new FormatParseException("IOException while determining if single or multiple metrics ",e);
  }
}

private boolean containsSingleMetric ( BufferedReader reader ) throws FormatParseException { try { reader . mark ( 1 ) ; char firstChar = ( char ) reader . read ( ) ; reader . reset ( ) ; return firstChar == '{' ; } catch ( IOException e ) { throw new FormatParseException ( "IOException while determining if single or multiple metrics " , e ) ; } }
determines if the given reader contains a single or multiple metrics .
