|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.util.ReportLib
public class ReportLib
An excessively lazy set of library functions for generating reports.
| Constructor Summary | |
|---|---|
ReportLib()
|
|
| Method Summary | |
|---|---|
static void |
launchWebBrowser(java.io.File filet)
Launches a web browser to view a local file. |
static void |
launchWebBrowser(java.lang.String url)
This launches a webbrowser on the given URL. |
static void |
spewReport(java.lang.String reportConfigPath,
java.io.File destination,
java.lang.Object source)
OK. |
static void |
spewReport(java.lang.String reportConfigPath,
java.lang.String destinationPath,
java.lang.Object source)
This simply creates the File object for you, and calls spewReport(String, File, Object). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportLib()
| Method Detail |
|---|
public static void spewReport(java.lang.String reportConfigPath,
java.io.File destination,
java.lang.Object source)
throws java.io.IOException
Best of all is this: if an exception occurs, the method attempts to write a stack trace to the file (presumably you'll be looking at it and see this). Only if all else fails will it throw an IOException.
java.io.IOException
public static void spewReport(java.lang.String reportConfigPath,
java.lang.String destinationPath,
java.lang.Object source)
throws java.io.IOException
java.io.IOExceptionpublic static void launchWebBrowser(java.lang.String url)
public static void launchWebBrowser(java.io.File filet)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||