private void read ( ) { // define the specification format final int key = 0 ; final int description = 1 ; final int offset = 2 ; final int length = 3 ; SpecificationFormat format = new SpecificationFormat ( key , description , offset , length ) ; // read the header data try { data = IOUtil . readHeaderEntries ( COFFHeaderKey . class , format , COFF_SPEC_FILE , headerbytes , getOffset ( ) ) ; } catch ( IOException e ) { logger . error ( "unable to read coff specification: " + e . getMessage ( ) ) ; } }
Reads the header s fields .