public void save(File dest) throws IOException { FileOutputStream out = null; try { out = new FileOutputStream(dest); save(out); out.close(); } finally { org.apache.hadoop.io.IOUtils.closeStream(out); } }
public void save(File dest) throws IOException { FileOutputStream out = null; try { out = new FileOutputStream(dest); save(out); out.close(); } finally { org.apache.hadoop.io.IOUtils.closeStream(out); } }
outputter.save(destFile); } else { print(outputter.asString());
outputter.save(destFile); } else { print(outputter.asString());