/guava/android/guava/src/com/google/common/io/Files.java
this.modes = ImmutableSet.copyOf ( modes ) ;
} private static final class FileByteSink extends ByteSink { private final File file; private final ImmutableSet<FileWriteMode> modes; private FileByteSink(File file, FileWriteMode... modes) { this.file = checkNotNull(file); <extra_id_0> } @Override public FileOutputStream openStream() throws IOException { return new FileOutputStream(file, modes.contains(APPEND)); } @Override