@Test public void testInit() throws IOException { ReadFileAction readFileAction = new ReadFileAction(); Map<String, String> args = new HashMap(); args.put(ReadFileAction.FILE_PATH, "Test"); readFileAction.init(args); args.put(ReadFileAction.BUF_SIZE, "4096"); readFileAction.init(args); }
@Override public void init(Map<String, String> args) { super.init(args); this.filePath = args.get(FILE_PATH); if (args.containsKey(BUF_SIZE)) { bufferSize = Integer.valueOf(args.get(BUF_SIZE)); } }
ReadFileAction extends HdfsAction { @Override public void init(Map<String, String> args) { super.init(args); this.filePath = args.get(FILE_PATH); if (args.containsKey(BUF_SIZE)) { bufferSize = Integer.valueOf(args.get(BUF_SIZE)); } } }
ReadFileAction extends HdfsAction { @Override public void init(Map<String, String> args) { super.init(args); this.filePath = args.get(FILE_PATH); if (args.containsKey(BUF_SIZE)) { bufferSize = Integer.valueOf(args.get(BUF_SIZE)); } }  }
ReadFileAction extends HdfsAction { @Override public void init(Map<String, String> args) { super.init(args); this.filePath = args.get(FILE_PATH); if (args.containsKey(BUF_SIZE)) { bufferSize = Integer.valueOf(args.get(BUF_SIZE)); } }  @Override void init(Map<String, String> args); }
ReadFileAction extends HdfsAction { @Override public void init(Map<String, String> args) { super.init(args); this.filePath = args.get(FILE_PATH); if (args.containsKey(BUF_SIZE)) { bufferSize = Integer.valueOf(args.get(BUF_SIZE)); } }  @Override void init(Map<String, String> args); static final String BUF_SIZE; }