me.escapeNT.pail
Class PailPersistance
java.lang.Object
me.escapeNT.pail.PailPersistance
- All Implemented Interfaces:
- Serializable
public class PailPersistance
- extends Object
- implements Serializable
Saves data relating to the current state of the plugin between reloads.
- Author:
- escapeNT
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
public static final File file
PailPersistance
public PailPersistance()
save
public void save(Point loc,
String console)
- Saves the given information to a temporary file.
- Parameters:
loc
- The current window location.console
- The full console text since the server was started.
load
public PailPersistance load()
- Loads the saved data from file.
getWindowLocation
protected Point getWindowLocation()
- Returns:
- the windowLocation
getConsoleText
protected String getConsoleText()
- Returns:
- the consoleText
Copyright © 2011. All Rights Reserved.