neosim.util
Class FileLoader
java.lang.Object
|
+--neosim.util.FileLoader
- public class FileLoader
- extends java.lang.Object
- implements Filecmds, java.lang.Runnable
FileLoader
Converts ascii file from URL to FileEventListener format
Constructor Summary |
FileLoader(java.lang.String urlName)
Create a file loader with the given url |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
FileLoader
public FileLoader(java.lang.String urlName)
- Create a file loader with the given url
startLoading
public void startLoading()
- Called after output has been wired
nextLine
protected java.lang.String nextLine(java.io.BufferedReader r)
run
public void run()
- Starts reading the trace in from the URL.
- Specified by:
- run in interface java.lang.Runnable
addFileListener
public void addFileListener(FileListener l)
- Javabeans file event output
removeFileListener
public void removeFileListener(FileListener l)
- Javabeans file event output
forwardFile
public void forwardFile(FileEventObject e)
- Sends file event onwards to any listeners