org.hardtokenmgmt.keyceremony.tolima
Class BaseKeyCeremony
java.lang.Object
org.hardtokenmgmt.keyceremony.tolima.BaseKeyCeremony
- Direct Known Subclasses:
- EJBCAKeyCeremony
public abstract class BaseKeyCeremony
- extends java.lang.Object
Base class used by implemetation performing key ceremony
initializations
- Version:
- $Id$
- Author:
- Philip Vendil 26 jan 2008
|
Field Summary |
protected java.io.Console |
console
|
protected java.io.PrintStream |
out
|
protected java.util.Properties |
props
|
|
Method Summary |
protected boolean |
getConfirmation(int level,
java.lang.String message)
|
protected void |
initProps()
|
protected java.io.PrintStream |
out(int level)
Help method printing a string at the specified level. |
protected java.lang.String |
readLine()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
props
protected java.util.Properties props
out
protected java.io.PrintStream out
console
protected java.io.Console console
BaseKeyCeremony
public BaseKeyCeremony()
initProps
protected void initProps()
throws java.lang.Exception
- Throws:
java.lang.Exception
readLine
protected java.lang.String readLine()
- Returns:
- Method returning a line from standard input.
out
protected java.io.PrintStream out(int level)
- Help method printing a string at the specified level.
- Parameters:
level - is the number of double spaces inserted before the text.
getConfirmation
protected boolean getConfirmation(int level,
java.lang.String message)
- Returns:
- Method expecting a 'Y' or 'N'.