|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.freecompany.redline.Scanner
public class Scanner
The scanner reads an RPM file and outputs useful information about it's contents. The scanner will output the headers of the RPM format itself, as well as the individual headers for the particular packaged content. In addition, the scanner will scan through the payload and output information about each file contained in the embedded CPIO payload.
| Constructor Summary | |
|---|---|
Scanner()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Scanner()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception - if an error occurrs while
reading the RPM file or it's contents
public Format run(ReadableChannelWrapper in)
throws java.lang.Exception
in - the channel wrapper to read input from
java.lang.Exception - if an error occurrs reading the file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||