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. |
Object |
getSyncObject() |
int |
getType()
Returns what type of Player this is:
STANDALONE , NETSCAPE_PLUGIN ,
ACTIVEX , or AIR . |
static Player |
wrap(Object syncObj,
Player player)
Wraps a Player inside a ThreadSafePlayer.
|
public static Player wrap(Object syncObj, Player player)
public 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
public final Object getSyncObject()
Copyright © 2016 The Apache Software Foundation. All rights reserved.