|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rychlik.jode.AccessManager
public final class AccessManager
This class AccessManager
handles vendor-specific
access mechanisms to printing and file access. Currently, it mostly
handles Netscape access, and handles other access problems
generically by popping error messages and printing stack trace.
Constructor Summary | |
---|---|
AccessManager()
|
Method Summary | |
---|---|
static boolean |
enablePrivilege(java.lang.String privilegeName)
Describe enablePrivilege method here. |
static boolean |
enableUniversalFileAccess()
Describe enableUniversalFileAccess method here. |
static boolean |
enableUniversalFileRead()
Describe enableUniversalFileRead method here. |
static boolean |
enableUniversalPrintJobAccess()
Describe enableUniversalPrintJobAccess method here. |
static java.applet.Applet |
getApplet()
Describe getApplet method here. |
static void |
handleException(java.lang.String message,
java.lang.Exception ex)
Describe handleException method here. |
static boolean |
isNetscape()
Describe isNetscape method here. |
static void |
setApplet(java.applet.Applet newApplet)
Describe setApplet method here. |
static void |
showSecurityDialog(java.lang.String message)
Describe show method here. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessManager()
Method Detail |
---|
public static final boolean isNetscape()
isNetscape
method here.
boolean
valuepublic static final void handleException(java.lang.String message, java.lang.Exception ex)
handleException
method here.
message
- a String
valueex
- an Exception
valuepublic static final boolean enablePrivilege(java.lang.String privilegeName)
enablePrivilege
method here.
privilegeName
- a String
valuepublic static final boolean enableUniversalPrintJobAccess()
enableUniversalPrintJobAccess
method here.
public static final boolean enableUniversalFileAccess()
enableUniversalFileAccess
method here.
boolean
valuepublic static final boolean enableUniversalFileRead()
enableUniversalFileRead
method here.
boolean
valuepublic static final java.applet.Applet getApplet()
getApplet
method here.
Applet
valuepublic static final void setApplet(java.applet.Applet newApplet)
setApplet
method here.
newApplet
- an Applet
valuepublic static final void showSecurityDialog(java.lang.String message)
show
method here.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |