public static void scan ( String source , OutputStream os ) throws IOException { scanSource ( source , new StringOutputStream ( os ) ) ; }
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 .