|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.pfl.basic.tools.logex.ExceptionResourceGenerator
public class ExceptionResourceGenerator
Scans a directory looking for class files. For each class file, if the class file is annotated with ExceptionWrapper, extract the messages and write out into a resource file.
| Method Summary | |
|---|---|
static java.util.List<java.lang.String> |
getResources(java.lang.Class<?> cls)
Generate a list of Strings for a resource file for the given exception and log handling class. |
static void |
main(java.lang.String[] strs)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List<java.lang.String> getResources(java.lang.Class<?> cls)
cls - The class that describes messages for logging.
public static void main(java.lang.String[] strs)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||