It seems that I'm the only one who didn't get this one, and this is very frustrating. ¯\_(ツ)_/¯
Anyway, I tried to follow the steps of the requirements, but I really don't understand what this task is about, or what I have to do. I looked at the only two other help topics and still didn't get it...
Any clarification would be very appreciated.
Thanks!
(Now I'm gonna cry in fetal position while I wait for an answer)
package com.codegym.task.task19.task1917;
/*
Your own FileWriter
*/
import java.io.FileWriter;
import java.io.IOException;
public class FileConsoleWriter {
private FileWriter fileWriter;
public static void main(String[] args) {
}
public FileConsoleWriter(char[] cbuf, int off, int len) throws IOException {
fileWriter.write(cbuf, off, len);
}
public FileConsoleWriter(int c) throws IOException {
fileWriter.write(c);
}
public FileConsoleWriter(String str) throws IOException {
fileWriter.write(str);
}
public FileConsoleWriter(String str, int off, int len) throws IOException {
fileWriter.write(str, off, len);
}
public FileConsoleWriter(char[] cbuf) throws IOException {
fileWriter.write(cbuf);
}
public void write(char[] cbuf, int off, int len) throws IOException {
}
public void write(int c) throws IOException {
}
public void write(String str) throws IOException {
}
public void write(String str, int off, int len) throws IOException {
}
public void write(char[] cbuf) throws IOException {
}
public void close() throws IOException {
}
}