
goal.tools.logging.CsvFileHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of runtime Show documentation
Show all versions of runtime Show documentation
A system for running GOAL multi-agent systems.
The newest version!
package goal.tools.logging;
import java.io.IOException;
import java.util.logging.FileHandler;
/**
* Specific {@link FileHandler} that logs CSV RFC 4180
* (https://en.wikipedia.org/wiki/Comma-separated_values) format. Except for the
* format, this behaves identical to a normal {@link FileHandler}.
*/
public class CsvFileHandler extends FileHandler {
public CsvFileHandler() throws IOException, SecurityException {
super();
setFormatter(new CsvFormatter());
}
public CsvFileHandler(String fname) throws SecurityException, IOException {
super(fname);
setFormatter(new CsvFormatter());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy