Crossfire JXClient, Trunk
|
Public Member Functions | |
Path | getFile () throws IOException |
Private Attributes | |
int | screenshotId |
Static Private Attributes | |
static final int | SCREENSHOT_FILENAMES = 10 |
Helper class for creating file names for screenshot files.
Definition at line 34 of file ScreenshotFiles.java.
Path com.realtime.crossfire.jxclient.gui.commands.ScreenshotFiles.getFile | ( | ) | throws IOException |
Returns a Path for the next screenshot file.
IOException | if the file cannot be determined |
Definition at line 54 of file ScreenshotFiles.java.
References com.realtime.crossfire.jxclient.settings.Filenames.getSettingsFile(), com.realtime.crossfire.jxclient.gui.commands.ScreenshotFiles.SCREENSHOT_FILENAMES, and com.realtime.crossfire.jxclient.gui.commands.ScreenshotFiles.screenshotId.
Referenced by com.realtime.crossfire.jxclient.commands.ScreenshotCommand.execute().
|
staticprivate |
The number of auto-created screenshot filenames. If more than this number of screenshots are created, old files will be recycled.
Definition at line 40 of file ScreenshotFiles.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.ScreenshotFiles.getFile().
|
private |
A number for creating screenshot file names. It is incremented for each screenshot.
Definition at line 46 of file ScreenshotFiles.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.ScreenshotFiles.getFile().