MicroTAPAS
Class Manuscripts
java.lang.Object
|
+--MicroTAPAS.Manuscripts
- All Implemented Interfaces:
- java.io.Serializable
- public class Manuscripts
- extends java.lang.Object
- implements java.io.Serializable
Collects and optionally downloads class files from a URL to specified local directory
NOTE: index.html should not exist at URL, because web servers directory service will enumerate file names.
- See Also:
- Serialized Form
|
Field Summary |
java.util.Vector |
classPool
Holds role classes for this manuscript |
|
Constructor Summary |
Manuscripts()
Constructor only to initialize classPool Vector. |
|
Method Summary |
void |
getClasses(java.lang.String pURL,
boolean pDownload,
java.lang.String pDir)
Locates and loads class names from a URL and optionally downloads them |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classPool
public java.util.Vector classPool
- Holds role classes for this manuscript
Manuscripts
public Manuscripts()
- Constructor only to initialize classPool Vector.
getClasses
public void getClasses(java.lang.String pURL,
boolean pDownload,
java.lang.String pDir)
throws java.lang.Exception
- Locates and loads class names from a URL and optionally downloads them
- Parameters:
pURL - The URL string that holds the role classes for this manuscriptpDownload - True, if the role classes have to be downloaded into a local directorypDir - A local directory string that can be the target for the optional download
java.lang.Exception