private String parseRegularExpression ( File annotationCacheCopy , long characterOffset ) throws IOException { BufferedReader reader = null ; try { reader = new BufferedReader ( new FileReader ( annotationCacheCopy ) ) ; reader . skip ( characterOffset ) ; return reader . readLine ( ) ; } finally { if ( reader != null ) { try { reader . close ( ) ; } catch ( Exception e ) { } } } }
Reads the first line after the annotation header as a regular expression for the annotation definition .