extractEntries method

List<Entry> extractEntries()

Implementation

List<Entry> extractEntries() {
  final List<File> exceptionFiles = [];

  final List<Entry> entries = [];
  for (var file in files) {
    try {
      entries.addAll(_getSourceForFile(file).extract(settings));
    } on FileSystemException {
      exceptionFiles.add(file);
    }
  }

  if (exceptionFiles.isNotEmpty) throw FileEncodingException(exceptionFiles);

  return entries;
}