public class RobotFileReader extends FileReader
When robot classes are loaded, new FileReader(..) is replaced with new RobotFileReader(..),
which checks that the robot only reads files in its own root package directory or data directory.
Robots should not use this class directly.
| Constructor and Description |
|---|
RobotFileReader(File file) |
RobotFileReader(String fileName) |
close, getEncoding, read, read, readypublic RobotFileReader(String fileName) throws FileNotFoundException
FileNotFoundExceptionpublic RobotFileReader(File file) throws FileNotFoundException
FileNotFoundExceptionCopyright © 2001-2026 Robocode. All Rights Reserved.