(Configuration conf,
String[] args)
| 67 | private final Configuration conf; |
| 68 | |
| 69 | public KeyTool(Configuration conf, |
| 70 | String[] args) throws IOException, ParseException { |
| 71 | CommandLine opts = parseOptions(args); |
| 72 | PrintStream stream; |
| 73 | if (opts.hasOption('o')) { |
| 74 | stream = new PrintStream(opts.getOptionValue('o'), "UTF-8"); |
| 75 | } else { |
| 76 | stream = System.out; |
| 77 | } |
| 78 | writer = new OutputStreamWriter(stream, "UTF-8"); |
| 79 | this.conf = conf; |
| 80 | } |
| 81 | |
| 82 | void run() throws IOException { |
| 83 | KeyProvider provider = |
nothing calls this directly
no test coverage detected