code: public static void scan(String source, OutputStream os) throws IOException {
          scanSource(source, new StringOutputStream(os));
      }
docs: Iteratively finds all jar files if source is a directory and scans them
  or if a file , scan it. The string values of the resulting records will
  be written to the specified output stream. Embedded jars are a record on
  their own.
  
  @param source
  @param os
  @throws IOException