abbot.util
Class SystemState
java.lang.Object
abbot.util.SystemState
public class SystemState
- extends Object
Preserve and restore system state.
This includes the following:
System.out/err
streams
System
properties
- Security manager
Constructor Summary |
SystemState()
Take a snapshot of the current System state for later restoration. |
Method Summary |
static void |
clearLockingKeys()
Clear all locking keys. |
void |
restore()
Restore the state captured in the ctor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCKING_CODES
public static final int[] LOCKING_CODES
SystemState
public SystemState()
- Take a snapshot of the current System state for later restoration.
restore
public void restore()
- Restore the state captured in the ctor.
clearLockingKeys
public static void clearLockingKeys()
- Clear all locking keys.
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on