net.sf.ant4eclipse.model.userlibrary
Class Archive

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

public class Archive
extends java.lang.Object

Simple library entry within the user library configuration file.


Constructor Summary
Archive(java.io.File path)
          Creates an archive entry provding some infos regarding a classpath entry.
Archive(java.io.File path, java.io.File source, java.lang.String javadoc)
          Creates an archive entry provding some infos regarding a classpath entry.
 
Method Summary
 java.lang.String getJavaDoc()
          Returns the location of the java docs.
 java.io.File getPath()
          Returns the location of the classes.
 java.io.File getSource()
          Returns the location of the sources.
 void setJavaDoc(java.lang.String newjavadoc)
          Changes the javadoc entry for this archive.
 void setSource(java.io.File newsource)
          Changes the source entry for this archive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Archive

public Archive(java.io.File path)
Creates an archive entry provding some infos regarding a classpath entry.

Parameters:
path - The location of the classes. Maybe a directory or a Jar.

Archive

public Archive(java.io.File path,
               java.io.File source,
               java.lang.String javadoc)
Creates an archive entry provding some infos regarding a classpath entry.

Parameters:
path - The location of the classes. Maybe a directory or a Jar.
source - The location of corresponding sources.
javadoc - The location of the javadocs as an url.
Method Detail

setSource

public void setSource(java.io.File newsource)
Changes the source entry for this archive.

Parameters:
newsource - The new source entry for this archive.

setJavaDoc

public void setJavaDoc(java.lang.String newjavadoc)
Changes the javadoc entry for this archive.

Parameters:
newjavadoc - The new javadoc entry.

getPath

public java.io.File getPath()
Returns the location of the classes. Maybe a directory or a Jar.

Returns:
The location of the classes. Maybe a directory or a Jar.

getSource

public java.io.File getSource()
Returns the location of the sources.

Returns:
The location of the sources.

getJavaDoc

public java.lang.String getJavaDoc()
Returns the location of the java docs.

Returns:
The location of the java docs.