net.sf.ant4eclipse.model.userlibrary
Class UserLibrary

java.lang.Object
  extended by net.sf.ant4eclipse.model.userlibrary.UserLibrary

public class UserLibrary
extends java.lang.Object

Description of an user library.


Constructor Summary
UserLibrary(java.lang.String name, boolean syslib)
          Creates a new user library entry with a specific name.
 
Method Summary
 void addArchive(Archive arc)
          Adds an archive to this library entry.
 Archive[] getArchives()
          Returns a list of archives that are registered with this library entry.
 java.lang.String getName()
          Returns the name of this user library.
 boolean isSystemLibrary()
          Returns true if this library affects the boot class path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLibrary

public UserLibrary(java.lang.String name,
                   boolean syslib)
Creates a new user library entry with a specific name.

Parameters:
name - The name of the user library.
syslib - true <=> This library affects the boot class path.
Method Detail

getName

public java.lang.String getName()
Returns the name of this user library.

Returns:
The name of this user library.

isSystemLibrary

public boolean isSystemLibrary()
Returns true if this library affects the boot class path.

Returns:
true <=> This library affects the boot class path.

addArchive

public void addArchive(Archive arc)
Adds an archive to this library entry.

Parameters:
arc - The archive that will be added.

getArchives

public Archive[] getArchives()
Returns a list of archives that are registered with this library entry.

Returns:
A list of archives that are registered with this library entry.