code: @Override
      public Collection<DependencyInfo> parse(File file) {
          BufferedReader br = null;
          FileReader fr = null;
          Collection<DependencyInfo> dependencyInfos = new LinkedList<>();
          try {
              fr = new FileReader(file.getAbsoluteFile());
              br = new BufferedReader(fr);
              String line = null;
              Package packageInfo = new Package();
              // Create Alpine package - package-version-architecture.apk
              while ((line = br.readLine()) != null) {
                  if (!line.isEmpty()) {
                      if (packageInfo.getPackageName() == null || packageInfo.getVersion() == null || packageInfo.getArchitecture() == null) {
                          String[] lineSplit = line.split(Constants.COLON);
                          String dependencyParameter = lineSplit[1].trim();
                          switch (lineSplit[0]) {
                              case PACKAGE:
                                  packageInfo.setPackageName(dependencyParameter);
                                  break;
                              case VERSION:
                                  packageInfo.setVersion(dependencyParameter);
                                  break;
                              case ARCHITECTURE:
                                  packageInfo.setArchitecture(dependencyParameter);
                                  break;
                              default:
                                  break;
                          }
                      }
                  } else {
                      DependencyInfo dependencyInfo = createDependencyInfo(packageInfo);
                      packageInfo = new Package();
                      dependencyInfos.add(dependencyInfo);
                  }
              }
          } catch (Exception e) {
              logger.error(e.getMessage());
              logger.debug("{}", e.getStackTrace());
          } finally {
              closeStream(br, fr);
          }
          return dependencyInfos;
      }
docs: /* --- Overridden methods ---