BufferedWriter methods

Cards (6)

  • close() = closes the stream, flushing it first
  • flush() = flushes the stream
  • newLine() = Writes a line separator
  • write(String s, int off, int len) = Writes a String from position off for length len
  • write(char[] array, int off, int len) = writes a character array from position off for length len
  • write(int c) = writes a single character.