Package marauroa.tools
Class GenerateKeys
java.lang.Object
marauroa.tools.GenerateKeys
generates a key pair for server.ini
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getStringWithDefault(String defaultValue)
reads a String from the input.static void
-
Constructor Details
-
GenerateKeys
public GenerateKeys()
-
-
Method Details
-
getStringWithDefault
reads a String from the input. When no String is chosen the defaultValue is used.- Parameters:
defaultValue
- if no value is written.- Returns:
- the string read or default if none was read.
-
main
- Parameters:
args
-- Throws:
IOException
-