org.objectweb.jonas.server.JURLs Class Reference

List of all members.

Public Member Functions

 JURLs ()
void add (File file) throws MalformedURLException
void addDir (File file) throws MalformedURLException
void add (File file, String filter) throws MalformedURLException
void addNotStartWith (File file, String prefix) throws MalformedURLException
void addNotEndWith (File file, String suffix) throws MalformedURLException
void add (File file, String filter, String prefix, String suffix) throws MalformedURLException
void merge (JURLs jurl)
void remove (File file) throws MalformedURLException
URL[] toURLs ()

Detailed Description

This implements an utility class that list the URLs of the jars to load at the launch time of the JOnAS server.
Author:
Ludovic Bert

Florent Benoit

Definition at line 41 of file JURLs.java.


Constructor & Destructor Documentation

org.objectweb.jonas.server.JURLs.JURLs  ) 
 

Construct an empty JURLs.

Definition at line 46 of file JURLs.java.


Member Function Documentation

void org.objectweb.jonas.server.JURLs.add File  file,
String  filter,
String  prefix,
String  suffix
throws MalformedURLException
 

Add the content of the specified directory to this JURLs by using a file filter and if the contained file not starts with the prefix and not ends with the suffix.

Parameters:
file the directory to add to this JURLs.
filter the filter to use to add the content of this directory, null if not use the filter.
prefix the prefix to ignore, null if not use the prefix.
suffix the suffix to ignore, null if not use the suffix.
Exceptions:
MalformedURLException to indicate that a malformed URL has occured.

Definition at line 149 of file JURLs.java.

References org.objectweb.jonas.server.JURLs.add().

Here is the call graph for this function:

void org.objectweb.jonas.server.JURLs.add File  file,
String  filter
throws MalformedURLException
 

Add the content of the specified directory to this JURLs, by using the specified filter.

Parameters:
file the directory to add to this JURLs.
filter the filter to use to add the content of this directory, null if not use the filter.
Exceptions:
MalformedURLException to indicate that a malformed URL has occured.

Definition at line 89 of file JURLs.java.

References org.objectweb.jonas.server.JURLs.add().

Here is the call graph for this function:

void org.objectweb.jonas.server.JURLs.add File  file  )  throws MalformedURLException
 

Add the specified file or directory to this JURLs. Note that in the case of a directory this method add only the content of this one.

Parameters:
file the specified file or directory to add to this JURLs.
Exceptions:
MalformedURLException to indicate that a malformed URL has occured.

Definition at line 57 of file JURLs.java.

Referenced by org.objectweb.jonas.server.JURLs.add(), org.objectweb.jonas.server.JURLs.addDir(), org.objectweb.jonas.server.JURLs.addNotEndWith(), org.objectweb.jonas.server.JURLs.addNotStartWith(), and org.objectweb.jonas.server.JURLs.merge().

void org.objectweb.jonas.server.JURLs.addDir File  file  )  throws MalformedURLException
 

Add the specified directory to this JURLs. Note that this method add the URL of the specified directory and not the content of this directory.

Parameters:
file the directory to add to this JURLs.
Exceptions:
MalformedURLException to indicate that a malformed URL has occured.

Definition at line 68 of file JURLs.java.

References org.objectweb.jonas.server.JURLs.add().

Here is the call graph for this function:

void org.objectweb.jonas.server.JURLs.addNotEndWith File  file,
String  suffix
throws MalformedURLException
 

Add the content of the specified directory to this JURLs if the contained file not ends with the specified suffix.

Parameters:
file the directory to add to this JURLs.
suffix the suffix to ignore, null if not use the suffix.
Exceptions:
MalformedURLException to indicate that a malformed URL has occured.

Definition at line 126 of file JURLs.java.

References org.objectweb.jonas.server.JURLs.add().

Here is the call graph for this function:

void org.objectweb.jonas.server.JURLs.addNotStartWith File  file,
String  prefix
throws MalformedURLException
 

Add the content of the specified directory to this JURLs if the contained file not starts with the specified prefix.

Parameters:
file the directory to add to this JURLs.
prefix the prefix to ignore, null if not use the prefix.
Exceptions:
MalformedURLException to indicate that a malformed URL has occured.

Definition at line 107 of file JURLs.java.

References org.objectweb.jonas.server.JURLs.add().

Here is the call graph for this function:

void org.objectweb.jonas.server.JURLs.merge JURLs  jurl  ) 
 

Merge the specified JURls to this JURLs.

Parameters:
jurl the JURls to merge with this JURLs.

Definition at line 207 of file JURLs.java.

References org.objectweb.jonas.server.JURLs.add().

Here is the call graph for this function:

void org.objectweb.jonas.server.JURLs.remove File  file  )  throws MalformedURLException
 

Remove the specified file of this JURLs

Parameters:
file the file to be removed
Exceptions:
MalformedURLException to indicate that a malformed URL has occured.

Definition at line 222 of file JURLs.java.

URL [] org.objectweb.jonas.server.JURLs.toURLs  ) 
 

Return an array containing all the URLs of this JURLs.

Returns:
an array containing all the URLs of this JURLs.

Definition at line 236 of file JURLs.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:08:04 2005 for JOnAS by  doxygen 1.3.9.1