本文整理了Java中azkaban.utils.Props.storeLocal()
方法的一些代码示例,展示了Props.storeLocal()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Props.storeLocal()
方法的具体详情如下:
包路径:azkaban.utils.Props
类名称:Props
方法名:storeLocal
[英]Store only those properties defined at this local level
[中]仅存储在此本地级别定义的属性
代码示例来源:origin: azkaban/azkaban
/**
* Store only those properties defined at this local level
*
* @param file The file to write to
* @throws IOException If the file can't be found or there is an io error
*/
public void storeLocal(final File file) throws IOException {
final BufferedOutputStream out =
new BufferedOutputStream(new FileOutputStream(file));
try {
storeLocal(out);
} finally {
out.close();
}
}
代码示例来源:origin: com.linkedin.azkaban/az-core
/**
* Store only those properties defined at this local level
*
* @param file The file to write to
* @throws IOException If the file can't be found or there is an io error
*/
public void storeLocal(final File file) throws IOException {
final BufferedOutputStream out =
new BufferedOutputStream(new FileOutputStream(file));
try {
storeLocal(out);
} finally {
out.close();
}
}
代码示例来源:origin: com.linkedin.azkaban/azkaban
/**
* Store only those properties defined at this local level
*
* @param file
* The file to write to
* @throws IOException
* If the file can't be found or there is an io error
*/
public void storeLocal(File file) throws IOException {
BufferedOutputStream out = new BufferedOutputStream(
new FileOutputStream(file));
try {
storeLocal(out);
} finally {
out.close();
}
}
代码示例来源:origin: com.linkedin.azkaban/azkaban
props.storeLocal(outputFile);
内容来源于网络,如有侵权,请联系作者删除!