robocode
Class RobocodeFileWriter
public class RobocodeFileWriter
RobocodeFileWriter is similar to a
FileWriter and is used for
writing data out to a file, which you got by calling
getDataFile().
You should read
FileWriter for documentation of this class.
Please notice that the max. size of your data file is set to 200000
(~195 KB).
- Mathew A. Nelson (original)
- Flemming N. Larsen (contributor)
RobocodeFileWriter
public RobocodeFileWriter(File file)
throws IOExceptionfile - the file to write to.
RobocodeFileWriter
public RobocodeFileWriter(FileDescriptor fd)
fd - the file descriptor of the file to write to.
RobocodeFileWriter
public RobocodeFileWriter(String fileName)
throws IOExceptionfileName - the filename of the file to write to.
RobocodeFileWriter
public RobocodeFileWriter(String fileName,
boolean append)
throws IOExceptionfileName - the filename of the file to write to.append - set this to true if the output must be appended to the file.