com.ptc.wvs.client.pview
Class PViewGetFile
java.lang.Object
com.ptc.wvs.client.pview.PViewGetFile
- All Implemented Interfaces:
- Runnable
- public class PViewGetFile
- extends Object
- implements Runnable
Copies a file referenced via a url, and stores the results in the PViewCache.
The viewer is then messaged to inform it that the file has arrived. Progress
bars will be displayed and updated to indicate the state of the transfer.
Supported API: false
Extendable: false
Method Summary |
void |
run()
Starts the transfer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
panel
private PViewPanel panel
cache
private PViewCache cache
fileUrl
private String fileUrl
extension
private String extension
name
private String name
visualID
private long visualID
debug
private boolean debug
canCancelActive
private boolean canCancelActive
PViewGetFile
public PViewGetFile(PViewCache cache,
PViewPanel pviewPanel,
String fileUrl,
String extension,
long visualID)
- Create the class with the parameters that will run to access the data.
- Parameters:
cache
- the cache used by the viewerspviewPanel
- the viewer panel which references this canvasfileUrl
- the url to the fileextension
- the extension to the filename held in the cachevisualID
- the identifier to the node whose data is being accessed
run
public void run()
- Starts the transfer
- Specified by:
run
in interface Runnable