|
SOA © 2004 SoS Group All Rights Reserved |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsos.koa.ViewPdf
A static class used to execute a native PDF viewer on a specific PDF file generated by the KOA application. one or more districts.
If the user wants to specify a particular PDF viewer, they should use the PdfViewer property, e.g.,
java -DPdfViewer=my_viewer sos.koa.MenuPanel
Field Summary | |
private static java.lang.String[] |
DEFAULT_PDF_VIEWERS
An ordered list of pre-defined PDF viewers. |
private static java.lang.String |
PDF_VIEW_PROPERTY
The command-line Java property that is used to determine a user-defined PDF previewer. |
Constructor Summary | |
(package private) |
ViewPdf()
This class should never be instantiated. |
Method Summary | |
static void |
main(java.lang.String[] some_args)
A test routine. |
(package private) static void |
showPdf(java.io.File a_pdf_file)
Display in a PDF viewer the specified file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String PDF_VIEW_PROPERTY
private static final java.lang.String[] DEFAULT_PDF_VIEWERS
Constructor Detail |
ViewPdf()
Method Detail |
static void showPdf(java.io.File a_pdf_file) throws java.io.IOException
a_pdf_file
- the file to show to the user.
java.io.IOException
- if something goes seriously wrong while reading
the specified PDF file.public static void main(java.lang.String[] some_args)
"./samples/KOA_rapport.pdf"
some_args
- a list of PDF files to preview.
|
SOA © 2004 SoS Group All Rights Reserved |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |