java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseablepublic class RobocodeFileWriter
extends java.io.OutputStreamWriter
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).
AdvancedRobot.getDataFile(String),
FileWriter| Constructor | Description |
|---|---|
RobocodeFileWriter(java.io.File file) |
Constructs a new RobocodeFileWriter.
|
RobocodeFileWriter(java.io.FileDescriptor fd) |
Constructs a new RobocodeFileWriter.
|
RobocodeFileWriter(java.lang.String fileName) |
Constructs a new RobocodeFileWriter.
|
RobocodeFileWriter(java.lang.String fileName,
boolean append) |
Constructs a new RobocodeFileWriter.
|
public RobocodeFileWriter(java.io.File file)
throws java.io.IOException
FileWriter(File) for documentation about
this constructor.file - the file to write to.java.io.IOException - if an I/O exception occurs.FileWriter(File)public RobocodeFileWriter(java.io.FileDescriptor fd)
FileWriter(FileDescriptor) for
documentation about this constructor.fd - the file descriptor of the file to write to.FileWriter(FileDescriptor)public RobocodeFileWriter(java.lang.String fileName)
throws java.io.IOException
FileWriter(String) for documentation about
this constructor.fileName - the filename of the file to write to.java.io.IOException - if an I/O exception occurs.FileWriter(String)public RobocodeFileWriter(java.lang.String fileName,
boolean append)
throws java.io.IOException
FileWriter(String, boolean) for
documentation about this constructor.fileName - the filename of the file to write to.append - set this to true if the output must be appended to the file.java.io.IOException - if an I/O exception occurs.FileWriter(String, boolean)Copyright © 2018. All rights reserved.