File
Doc
Category
Size
Date
Package
MyGuard.java
API Doc
Android 1.5 API
1276
Wed May 06 22:41:06 BST 2009
org.apache.harmony.security.tests.support
MyGuard
java.lang.Object
public class MyGuard extends Object implements Serializable, Guard
Fields Summary
private static final long
serialVersionUID
final boolean
enabled
Constructors Summary
public MyGuard
(
boolean
state)
enabled = state;
Methods Summary
public void
checkGuard
(
java.lang.Object
object)
if (!enabled) { throw new SecurityException(); }
Java Code Source