If there is a file created and stored in a class:
void setLogFile(File LogFile){
this.LogFile=LogFile;
}
File getLogFile(){
return LogFile;
}
and the FormattedWriter is created in another class and it's constructor calls super.
Why won't this work?
FormattedWriter out = new FormattedWriter(new FileWriter(getLogFile(),true));