@Override public OutputStream newOutputStream(boolean append) throws IOException { return base.newOutputStream(append); }
/** * Create an output stream to write into the file. * This method is similar to Java 7 * <code>java.nio.file.Path.newOutputStream</code>. * * @param fileName the file name * @param append if true, the file will grow, if false, the file will be * truncated first * @return the output stream */ public static OutputStream newOutputStream(String fileName, boolean append) throws IOException { return FilePath.get(fileName).newOutputStream(append); }
@Override public OutputStream newOutputStream(boolean append) throws IOException { return base.newOutputStream(append); }
@Override public OutputStream newOutputStream(boolean append) throws IOException { return base.newOutputStream(append); }
/** * Create an output stream to write into the file. * This method is similar to Java 7 * <code>java.nio.file.Path.newOutputStream</code>. * * @param fileName the file name * @param append if true, the file will grow, if false, the file will be * truncated first * @return the output stream */ public static OutputStream newOutputStream(String fileName, boolean append) throws IOException { return FilePath.get(fileName).newOutputStream(append); }
/** * Create an output stream to write into the file. * This method is similar to Java 7 * <code>java.nio.file.Path.newOutputStream</code>. * * @param fileName the file name * @param append if true, the file will grow, if false, the file will be * truncated first * @return the output stream */ public static OutputStream newOutputStream(String fileName, boolean append) throws IOException { return FilePath.get(fileName).newOutputStream(append); }