ACTIVEX, AIR, NETSCAPE_PLUGIN, STANDALONE
Modifier and Type | Method and Description |
---|---|
Browser |
getBrowser()
Returns the web browser with which this player is associated,
or
null if this is the standalone player or AIR,
or if we're not sure which browser will be run. |
File |
getPath()
Returns the path to the Flash player file -- e.g. the path to
FlashPlayer.exe, NPSWF32.dll, Flash.ocx, or adl.exe -- or
null if not known. |
int |
getType()
Returns what type of Player this is:
STANDALONE , NETSCAPE_PLUGIN ,
ACTIVEX , or AIR . |
public AIRPlayer(File adl)
adl
- The path to adl (Mac/Linux) or adl.exe (Windows); may be nullpublic int getType()
Player
STANDALONE
, NETSCAPE_PLUGIN
,
ACTIVEX
, or AIR
.public File getPath()
Player
null
if not known. (Filenames are obviously
platform-specific.)
Note that the file is not guaranteed to exist. You can use File.exists() to test that.
public Browser getBrowser()
Player
null
if this is the standalone player or AIR,
or if we're not sure which browser will be run.getBrowser
in interface Player
Copyright © 2016 The Apache Software Foundation. All rights reserved.