Package org.elasticsearch.hadoop.cli
Class Keytool
java.lang.Object
org.elasticsearch.hadoop.cli.Keytool
-
Method Summary
Modifier and TypeMethodDescriptionstatic intprotected booleanksExists()static voidprotected InputStreamopenRead()protected OutputStreamintRun the program with the given arguments
-
Method Details
-
main
-
execute
-
run
Run the program with the given arguments- Parameters:
arg- Usually the name of the property to set. Can be empty for some commandsstdin- Flag to state that the input should be read from stdinforce- Flag to state that overwriting a key should be ignored- Returns:
- exit code
- Throws:
IOException
-
ksExists
protected boolean ksExists() -
openRead
- Throws:
FileNotFoundException
-
openWrite
- Throws:
IOException
-