public final class AccessManager
extends java.lang.Object
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 and Description |
---|
AccessManager() |
Modifier and Type | Method and Description |
---|---|
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. |
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.