|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.examples.simple.HelloWorldUtilities
public final class HelloWorldUtilities
Helper functions used by the sample.
The helper functions have been moved here to prevent that the reader of the hello world gets distracted by auxiliary helper functions.
Field Summary | |
---|---|
private static String[] |
VALID_ARGS
Array of valid command line arguments. |
Constructor Summary | |
---|---|
private |
HelloWorldUtilities()
Objects of this class cannot be instantiated. |
Method Summary | |
---|---|
static void |
fatalError(String message,
Throwable cause)
Logs a fatal error and terminates the application. |
static String[] |
validateInput(String[] args)
Simple helper function to validate the command line arguments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final String[] VALID_ARGS
Constructor Detail |
---|
private HelloWorldUtilities()
Method Detail |
---|
public static String[] validateInput(String[] args)
args
- the arguments to validate.
public static final void fatalError(String message, Throwable cause)
message
- the message to log.cause
- the cause of the fatal error.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:07:12
Copyright (c) 2002-2007 Ergon Informatik AG