PaP
Class Manuscripts

java.lang.Object
  |
  +--PaP.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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

classPool

public java.util.Vector classPool
Holds role classes for this manuscript
Constructor Detail

Manuscripts

public Manuscripts()
Constructor only to initialize classPool Vector.
Method Detail

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 manuscript
pDownload - True, if the role classes have to be downloaded into a local directory
pDir - A local directory string that can be the target for the optional download