test_class.declarator: log = LoggerFactory.getLogger(EbtsParserTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger log = LoggerFactory.getLogger(EbtsParserTest.class);
test_class.type: Logger
test_class.var_name: log
test_class.declarator: ebts = null
test_class.original_string: Ebts ebts = null;
test_class.type: Ebts
test_class.var_name: ebts
test_class.file: Jet/src/test/java/org/mitre/jet/ebts/EbtsParserTest.java
test_class.identifier: EbtsParserTest
test_case.body: @Test
      public void testDescriptiveOnly() throws Exception {
          File file = new File(ClassLoader.getSystemResource("EFT/S001-01-t10_01.eft").toURI());
  
          EbtsParser ebtsParser = new EbtsParser();
          Ebts ebtsDescriptiveOnly = ebtsParser.parse(file,ParseType.DESCRIPTIVE_ONLY);
  
          Ebts ebts = ebtsParser.parse(file,ParseType.FULL);
  
          //Type 1 and 2 only parsed
          assertEquals(2,ebtsDescriptiveOnly.getAllRecords().size());
  
          //Same number of fields
          assertEquals(ebts.getRecordsByType(1).get(0).getLength(),ebtsDescriptiveOnly.getRecordsByType(1).get(0).getLength());
          assertEquals(ebts.getRecordsByType(2).get(0).getLength(),ebtsDescriptiveOnly.getRecordsByType(2).get(0).getLength());
  
      }
test_case.class_method_signature: EbtsParserTest.testDescriptiveOnly()
test_case.full_signature: @Test public void testDescriptiveOnly()
test_case.identifier: testDescriptiveOnly
test_case.invocations: toURI getSystemResource parse parse assertEquals size getAllRecords assertEquals getLength get getRecordsByType getLength get getRecordsByType assertEquals getLength get getRecordsByType getLength get getRecordsByType
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDescriptiveOnly()
focal_class.declarator: log = LoggerFactory.getLogger(EbtsParser.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(EbtsParser.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: BINARY_HEADER_RECORD_TYPES = EbtsUtils.getBinaryHeaderTypes()
focal_class.modifier: private static final
focal_class.original_string: private static final Set<Integer> BINARY_HEADER_RECORD_TYPES = EbtsUtils.getBinaryHeaderTypes();
focal_class.type: Set<Integer>
focal_class.var_name: BINARY_HEADER_RECORD_TYPES
focal_class.declarator: GENERIC_RECORD_TYPES = EbtsUtils.getGenericRecordTypes()
focal_class.modifier: private static final
focal_class.original_string: private static final Set<Integer> GENERIC_RECORD_TYPES = EbtsUtils.getGenericRecordTypes();
focal_class.type: Set<Integer>
focal_class.var_name: GENERIC_RECORD_TYPES
focal_class.declarator: COLON = 0x3a
focal_class.modifier: private static final
focal_class.original_string: private static final byte COLON = 0x3a;
focal_class.type: byte
focal_class.var_name: COLON
focal_class.declarator: IMAGE_MIME_EXTENSIONS = Sets.newHashSet(".jpg", ".jp2", ".png", ".tiff", ".gif")
focal_class.modifier: private static final
focal_class.original_string: private static final Set<String> IMAGE_MIME_EXTENSIONS = Sets.newHashSet(".jpg", ".jp2", ".png", ".tiff", ".gif");
focal_class.type: Set<String>
focal_class.var_name: IMAGE_MIME_EXTENSIONS
focal_class.file: Jet/src/main/java/org/mitre/jet/ebts/EbtsParser.java
focal_class.identifier: EbtsParser
focal_class.class_method_signature: EbtsParser.EbtsParser()
focal_class.full_signature: public  EbtsParser()
focal_class.identifier: EbtsParser
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  EbtsParser()
focal_class.class_method_signature: EbtsParser.parse(final byte[] bytes, final ParseType parseType)
focal_class.full_signature: public static Ebts parse(final byte[] bytes, final ParseType parseType)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (final byte[] bytes, final ParseType parseType)
focal_class.return: Ebts
focal_class.signature: Ebts parse(final byte[] bytes, final ParseType parseType)
focal_class.class_method_signature: EbtsParser.parse(final byte[] bytes, Type7Handling type7Handling)
focal_class.full_signature: public static Ebts parse(final byte[] bytes, Type7Handling type7Handling)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (final byte[] bytes, Type7Handling type7Handling)
focal_class.return: Ebts
focal_class.signature: Ebts parse(final byte[] bytes, Type7Handling type7Handling)
focal_class.class_method_signature: EbtsParser.parse(final byte[] bytes, final ParseType parseType, Type7Handling type7Handling)
focal_class.full_signature: public static Ebts parse(final byte[] bytes, final ParseType parseType, Type7Handling type7Handling)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (final byte[] bytes, final ParseType parseType, Type7Handling type7Handling)
focal_class.return: Ebts
focal_class.signature: Ebts parse(final byte[] bytes, final ParseType parseType, Type7Handling type7Handling)
focal_class.class_method_signature: EbtsParser.parse(final byte[] bytes)
focal_class.full_signature: public static Ebts parse(final byte[] bytes)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (final byte[] bytes)
focal_class.return: Ebts
focal_class.signature: Ebts parse(final byte[] bytes)
focal_class.class_method_signature: EbtsParser.parse(final File file, final ParseType parseType, final Type7Handling type7Handling)
focal_class.full_signature: public static Ebts parse(final File file, final ParseType parseType, final Type7Handling type7Handling)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (final File file, final ParseType parseType, final Type7Handling type7Handling)
focal_class.return: Ebts
focal_class.signature: Ebts parse(final File file, final ParseType parseType, final Type7Handling type7Handling)
focal_class.class_method_signature: EbtsParser.parse(final File file, final ParseType parseType)
focal_class.full_signature: public static Ebts parse(final File file, final ParseType parseType)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (final File file, final ParseType parseType)
focal_class.return: Ebts
focal_class.signature: Ebts parse(final File file, final ParseType parseType)
focal_class.class_method_signature: EbtsParser.parse(final File file)
focal_class.full_signature: public static Ebts parse(final File file)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (final File file)
focal_class.return: Ebts
focal_class.signature: Ebts parse(final File file)
focal_class.class_method_signature: EbtsParser.parse(final String filePath, final ParseType parseType)
focal_class.full_signature: @Deprecated public static Ebts parse(final String filePath, final ParseType parseType)
focal_class.identifier: parse
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final String filePath, final ParseType parseType)
focal_class.return: Ebts
focal_class.signature: Ebts parse(final String filePath, final ParseType parseType)
focal_class.class_method_signature: EbtsParser.parseGenericRecord(final int type, final ByteBuffer bb)
focal_class.full_signature: private static LogicalRecord parseGenericRecord(final int type, final ByteBuffer bb)
focal_class.identifier: parseGenericRecord
focal_class.modifiers: private static
focal_class.parameters: (final int type, final ByteBuffer bb)
focal_class.return: LogicalRecord
focal_class.signature: LogicalRecord parseGenericRecord(final int type, final ByteBuffer bb)
focal_class.class_method_signature: EbtsParser.parseType7(final int recordType, final ByteBuffer bb, final Type7Handling type7Handling)
focal_class.full_signature: private static LogicalRecord parseType7(final int recordType, final ByteBuffer bb, final Type7Handling type7Handling)
focal_class.identifier: parseType7
focal_class.modifiers: private static
focal_class.parameters: (final int recordType, final ByteBuffer bb, final Type7Handling type7Handling)
focal_class.return: LogicalRecord
focal_class.signature: LogicalRecord parseType7(final int recordType, final ByteBuffer bb, final Type7Handling type7Handling)
focal_class.class_method_signature: EbtsParser.parseType7AsNist( int recordType, ByteBuffer bb )
focal_class.full_signature: private static BinaryHeaderImageRecord parseType7AsNist( int recordType, ByteBuffer bb )
focal_class.identifier: parseType7AsNist
focal_class.modifiers: private static
focal_class.parameters: ( int recordType, ByteBuffer bb )
focal_class.return: BinaryHeaderImageRecord
focal_class.signature: BinaryHeaderImageRecord parseType7AsNist( int recordType, ByteBuffer bb )
focal_class.class_method_signature: EbtsParser.parseType7AsType4(final int recordType, final ByteBuffer bb)
focal_class.full_signature: private static BinaryHeaderImageRecord parseType7AsType4(final int recordType, final ByteBuffer bb)
focal_class.identifier: parseType7AsType4
focal_class.modifiers: private static
focal_class.parameters: (final int recordType, final ByteBuffer bb)
focal_class.return: BinaryHeaderImageRecord
focal_class.signature: BinaryHeaderImageRecord parseType7AsType4(final int recordType, final ByteBuffer bb)
focal_class.class_method_signature: EbtsParser.parseType3456(final int recordType, final ByteBuffer bb)
focal_class.full_signature: private static LogicalRecord parseType3456(final int recordType, final ByteBuffer bb)
focal_class.identifier: parseType3456
focal_class.modifiers: private static
focal_class.parameters: (final int recordType, final ByteBuffer bb)
focal_class.return: LogicalRecord
focal_class.signature: LogicalRecord parseType3456(final int recordType, final ByteBuffer bb)
focal_class.class_method_signature: EbtsParser.parseBinaryHeaderRecord(final int recordType, final int[] headerFormat, final ByteBuffer bb)
focal_class.full_signature: private static LogicalRecord parseBinaryHeaderRecord(final int recordType, final int[] headerFormat, final ByteBuffer bb)
focal_class.identifier: parseBinaryHeaderRecord
focal_class.modifiers: private static
focal_class.parameters: (final int recordType, final int[] headerFormat, final ByteBuffer bb)
focal_class.return: LogicalRecord
focal_class.signature: LogicalRecord parseBinaryHeaderRecord(final int recordType, final int[] headerFormat, final ByteBuffer bb)
focal_class.class_method_signature: EbtsParser.parseType8(final int recordType, final ByteBuffer bb)
focal_class.full_signature: private static LogicalRecord parseType8(final int recordType, final ByteBuffer bb)
focal_class.identifier: parseType8
focal_class.modifiers: private static
focal_class.parameters: (final int recordType, final ByteBuffer bb)
focal_class.return: LogicalRecord
focal_class.signature: LogicalRecord parseType8(final int recordType, final ByteBuffer bb)
focal_class.class_method_signature: EbtsParser.convertBinaryFieldData(final byte[] data)
focal_class.full_signature: private static byte[] convertBinaryFieldData(final byte[] data)
focal_class.identifier: convertBinaryFieldData
focal_class.modifiers: private static
focal_class.parameters: (final byte[] data)
focal_class.return: byte[]
focal_class.signature: byte[] convertBinaryFieldData(final byte[] data)
focal_method.body: public static Ebts parse(final byte[] bytes, final ParseType parseType) throws EbtsParsingException {
          return EbtsParser.parse(bytes,parseType,Type7Handling.TREAT_AS_TYPE4);
      }
focal_method.class_method_signature: EbtsParser.parse(final byte[] bytes, final ParseType parseType)
focal_method.full_signature: public static Ebts parse(final byte[] bytes, final ParseType parseType)
focal_method.identifier: parse
focal_method.invocations: parse
focal_method.modifiers: public static
focal_method.parameters: (final byte[] bytes, final ParseType parseType)
focal_method.return: Ebts
focal_method.signature: Ebts parse(final byte[] bytes, final ParseType parseType)