Modifier and Type | Method and Description |
---|---|
boolean |
containsSource(SourceFile f)
Returns true if the given source file is contained
within this SWF.
|
int |
getIsolateId()
Return the worker ID to which this SWF belongs.
|
String |
getPath()
The full path of the SWF.
|
int |
getSourceCount(Session s)
Number of source files in this SWF.
|
SourceFile[] |
getSourceList(Session s)
List of source files that are contained within
this SWF.
|
int |
getSwdSize(Session s)
The size of the debug SWD file, if any
This may also be zero if the SWD load is in progress
|
int |
getSwfSize()
The size of this SWF in bytes
|
Object |
getSyncObject() |
static Object |
getSyncObject(SwfInfo swfInfo) |
String |
getUrl()
The URL for the SWF.
|
boolean |
isProcessingComplete()
Indicates whether the contents of the SWF file
have been completely processed.
|
boolean |
isUnloaded()
Indication that this SWF, which was previously loaded into
the Player, is now currently unloaded.
|
static ThreadSafeSwfInfo |
wrap(Object syncObj,
SwfInfo swfInfo)
Wraps a SwfInfo inside a ThreadSafeSwfInfo.
|
static ThreadSafeSwfInfo[] |
wrapArray(Object syncObj,
SwfInfo[] swfinfos)
Wraps an array of SwfInfos inside an array of ThreadSafeSwfInfos.
|
public static ThreadSafeSwfInfo wrap(Object syncObj, SwfInfo swfInfo)
public static ThreadSafeSwfInfo[] wrapArray(Object syncObj, SwfInfo[] swfinfos)
public boolean containsSource(SourceFile f)
SwfInfo
containsSource
in interface SwfInfo
public String getPath()
SwfInfo
public int getSourceCount(Session s) throws InProgressException
SwfInfo
getSourceCount
in interface SwfInfo
InProgressException
- if the SWD has not yet been loadedpublic SourceFile[] getSourceList(Session s) throws InProgressException
SwfInfo
getSourceList
in interface SwfInfo
InProgressException
- if the SWD has not yet been loadedpublic int getSwdSize(Session s) throws InProgressException
SwfInfo
getSwdSize
in interface SwfInfo
InProgressException
- if the SWD has not yet been loadedpublic int getSwfSize()
SwfInfo
getSwfSize
in interface SwfInfo
public String getUrl()
SwfInfo
public boolean isProcessingComplete()
SwfInfo
isProcessingComplete
in interface SwfInfo
public boolean isUnloaded()
SwfInfo
isUnloaded
in interface SwfInfo
public int getIsolateId()
SwfInfo
getIsolateId
in interface SwfInfo
public final Object getSyncObject()
Copyright © 2016 The Apache Software Foundation. All rights reserved.