public class Scanner extends Object
| Constructor and Description |
|---|
Scanner() |
Scanner(PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Scans a file and prints out useful information.
|
Format |
run(ReadableChannelWrapper in)
Reads the headers of an RPM and returns a description of it
and it's format.
|
public Scanner()
public Scanner(PrintStream out)
public static void main(String[] args) throws Exception
args - command line arguementsException - if an error occurs while
reading the RPM file or it's contentspublic Format run(ReadableChannelWrapper in) throws IOException
in - the channel wrapper to read input fromIOException - if an error occurs reading the fileCopyright © 2015. All Rights Reserved.