Modifier and Type | Field and Description |
---|---|
static String |
TYPE_ENCRYPTED |
static String |
TYPE_PLAIN |
Constructor and Description |
---|
Module(URL location) |
Module(URL location,
String readerType) |
Modifier and Type | Method and Description |
---|---|
void |
addFunction(FunctionIF func)
Adds a function to this module.
|
void |
clearFunctions()
Removes all existing functions.
|
Collection |
getFunctions()
Gets a collection of FunctionIF objects that are contained in
this module.
|
URL |
getURL()
Gets the URL from where this module was read in.
|
boolean |
hasResourceChanged()
Checks if the resource has changed in the meantime by comparing
the lastModified fields.
|
void |
readIn()
Reads in functions contained in module from resource.
|
String |
toString()
Returns a string representation of this object.
|
public static final String TYPE_ENCRYPTED
public static final String TYPE_PLAIN
public Module(URL location)
public URL getURL()
ModuleIF
public Collection getFunctions()
ModuleIF
getFunctions
in interface ModuleIF
FunctionIF
public void addFunction(FunctionIF func)
ModuleIF
addFunction
in interface ModuleIF
public void clearFunctions()
ModuleIF
clearFunctions
in interface ModuleIF
public boolean hasResourceChanged()
ModuleIF
hasResourceChanged
in interface ModuleIF
public void readIn() throws NavigatorRuntimeException
ModuleIF
readIn
in interface ModuleIF
NavigatorRuntimeException