test_class.file: flatworm-core/src/test/java/com/blackbear/flatworm/FileParserTest.java
test_class.identifier: FileParserTest
test_case.body: @Test
      public void executeRecordCallback() {
          RecordCallback callback = mock(RecordCallback.class);
          MatchedRecord matchedRecord = mock(MatchedRecord.class);
  
          FileParser parser = new FileParser("", "");
          parser.registerRecordCallback("test", callback);
  
          // TODO when there is more time - need to have content and config embedded into the test.
  //        verify(callback, atMost(1)).processRecord(matchedRecord);
      }
test_case.class_method_signature: FileParserTest.executeRecordCallback()
test_case.full_signature: @Test public void executeRecordCallback()
test_case.identifier: executeRecordCallback
test_case.invocations: mock mock registerRecordCallback
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void executeRecordCallback()
focal_class.declarator: recordCallbacks = ArrayListMultimap.create()
focal_class.modifier: private
focal_class.original_string: private ListMultimap<String, RecordCallback> recordCallbacks = ArrayListMultimap.create();
focal_class.type: ListMultimap<String, RecordCallback>
focal_class.var_name: recordCallbacks
focal_class.declarator: exceptionCallbacks = new ArrayList<>()
focal_class.modifier: private
focal_class.original_string: private List<ExceptionCallback> exceptionCallbacks = new ArrayList<>();
focal_class.type: List<ExceptionCallback>
focal_class.var_name: exceptionCallbacks
focal_class.declarator: configFile
focal_class.modifier: protected
focal_class.original_string: protected File configFile;
focal_class.type: File
focal_class.var_name: configFile
focal_class.declarator: dataInputFile
focal_class.modifier: protected
focal_class.original_string: protected File dataInputFile;
focal_class.type: File
focal_class.var_name: dataInputFile
focal_class.declarator: dataInputContent
focal_class.modifier: protected
focal_class.original_string: protected String dataInputContent;
focal_class.type: String
focal_class.var_name: dataInputContent
focal_class.declarator: configContent
focal_class.modifier: protected
focal_class.original_string: protected String configContent;
focal_class.type: String
focal_class.var_name: configContent
focal_class.declarator: fileFormat
focal_class.modifier: protected
focal_class.original_string: protected FileFormat fileFormat;
focal_class.type: FileFormat
focal_class.var_name: fileFormat
focal_class.declarator: bufIn
focal_class.modifier: protected
focal_class.original_string: protected BufferedReader bufIn;
focal_class.type: BufferedReader
focal_class.var_name: bufIn
focal_class.file: flatworm-core/src/main/java/com/blackbear/flatworm/FileParser.java
focal_class.identifier: FileParser
focal_class.interfaces: implements Closeable
focal_class.class_method_signature: FileParser.FileParser()
focal_class.full_signature: protected  FileParser()
focal_class.identifier: FileParser
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.signature:  FileParser()
focal_class.class_method_signature: FileParser.FileParser(String configContent, String dataInputContent)
focal_class.full_signature: public  FileParser(String configContent, String dataInputContent)
focal_class.identifier: FileParser
focal_class.modifiers: public
focal_class.parameters: (String configContent, String dataInputContent)
focal_class.signature:  FileParser(String configContent, String dataInputContent)
focal_class.class_method_signature: FileParser.FileParser(File configFile, File dataInputFile)
focal_class.full_signature: public  FileParser(File configFile, File dataInputFile)
focal_class.identifier: FileParser
focal_class.modifiers: public
focal_class.parameters: (File configFile, File dataInputFile)
focal_class.signature:  FileParser(File configFile, File dataInputFile)
focal_class.class_method_signature: FileParser.FileParser(File configFile, String dataInputContent)
focal_class.full_signature: public  FileParser(File configFile, String dataInputContent)
focal_class.identifier: FileParser
focal_class.modifiers: public
focal_class.parameters: (File configFile, String dataInputContent)
focal_class.signature:  FileParser(File configFile, String dataInputContent)
focal_class.class_method_signature: FileParser.FileParser(String configContent, File dataInputFile)
focal_class.full_signature: public  FileParser(String configContent, File dataInputFile)
focal_class.identifier: FileParser
focal_class.modifiers: public
focal_class.parameters: (String configContent, File dataInputFile)
focal_class.signature:  FileParser(String configContent, File dataInputFile)
focal_class.class_method_signature: FileParser.registerRecordCallback(String recordName, RecordCallback callback)
focal_class.full_signature: public void registerRecordCallback(String recordName, RecordCallback callback)
focal_class.identifier: registerRecordCallback
focal_class.modifiers: public
focal_class.parameters: (String recordName, RecordCallback callback)
focal_class.return: void
focal_class.signature: void registerRecordCallback(String recordName, RecordCallback callback)
focal_class.class_method_signature: FileParser.removeRecordCallback(String recordName, RecordCallback callback)
focal_class.full_signature: public boolean removeRecordCallback(String recordName, RecordCallback callback)
focal_class.identifier: removeRecordCallback
focal_class.modifiers: public
focal_class.parameters: (String recordName, RecordCallback callback)
focal_class.return: boolean
focal_class.signature: boolean removeRecordCallback(String recordName, RecordCallback callback)
focal_class.class_method_signature: FileParser.registerExceptionCallback(ExceptionCallback callback)
focal_class.full_signature: public void registerExceptionCallback(ExceptionCallback callback)
focal_class.identifier: registerExceptionCallback
focal_class.modifiers: public
focal_class.parameters: (ExceptionCallback callback)
focal_class.return: void
focal_class.signature: void registerExceptionCallback(ExceptionCallback callback)
focal_class.class_method_signature: FileParser.removeExceptionCallback(ExceptionCallback callback)
focal_class.full_signature: public boolean removeExceptionCallback(ExceptionCallback callback)
focal_class.identifier: removeExceptionCallback
focal_class.modifiers: public
focal_class.parameters: (ExceptionCallback callback)
focal_class.return: boolean
focal_class.signature: boolean removeExceptionCallback(ExceptionCallback callback)
focal_class.class_method_signature: FileParser.open()
focal_class.full_signature: public void open()
focal_class.identifier: open
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void open()
focal_class.class_method_signature: FileParser.loadConfiguration()
focal_class.full_signature: protected void loadConfiguration()
focal_class.identifier: loadConfiguration
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void loadConfiguration()
focal_class.class_method_signature: FileParser.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: FileParser.read()
focal_class.full_signature: public void read()
focal_class.identifier: read
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void read()
focal_class.class_method_signature: FileParser.doCallback(String recordName, MatchedRecord record)
focal_class.full_signature: private void doCallback(String recordName, MatchedRecord record)
focal_class.identifier: doCallback
focal_class.modifiers: private
focal_class.parameters: (String recordName, MatchedRecord record)
focal_class.return: void
focal_class.signature: void doCallback(String recordName, MatchedRecord record)
focal_class.class_method_signature: FileParser.doExceptionCallback(Exception ex, String message, String lastLine)
focal_class.full_signature: private void doExceptionCallback(Exception ex, String message, String lastLine)
focal_class.identifier: doExceptionCallback
focal_class.modifiers: private
focal_class.parameters: (Exception ex, String message, String lastLine)
focal_class.return: void
focal_class.signature: void doExceptionCallback(Exception ex, String message, String lastLine)
focal_method.body: public void registerRecordCallback(String recordName, RecordCallback callback) {
          List<RecordCallback> callbacks = recordCallbacks.get(recordName);
          if (!callbacks.contains(callback)) {
              recordCallbacks.put(recordName, callback);
          }
      }
focal_method.class_method_signature: FileParser.registerRecordCallback(String recordName, RecordCallback callback)
focal_method.full_signature: public void registerRecordCallback(String recordName, RecordCallback callback)
focal_method.identifier: registerRecordCallback
focal_method.invocations: get contains put
focal_method.modifiers: public
focal_method.parameters: (String recordName, RecordCallback callback)
focal_method.return: void
focal_method.signature: void registerRecordCallback(String recordName, RecordCallback callback)