public class RobotFileInputStream extends FileInputStream
When robot classes are loaded, new FileInputStream(..) is replaced with new RobotFileInputStream(..),
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 |
|---|
RobotFileInputStream(File file) |
RobotFileInputStream(String name) |
available, close, finalize, getChannel, getFD, read, read, read, skipmark, markSupported, resetpublic RobotFileInputStream(String name) throws FileNotFoundException
FileNotFoundExceptionpublic RobotFileInputStream(File file) throws FileNotFoundException
FileNotFoundExceptionCopyright © 2001-2026 Robocode. All Rights Reserved.