org.erowid.masterdoc
Class Repository
java.lang.Object
org.erowid.masterdoc.Repository
- Direct Known Subclasses:
- ExternalRepository, InternalRepository, MasterRepository
- public class Repository
- extends Object
A Javadoc API.
- Version:
- : $Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/masterdoc/Repository.java,v 1.4 2005/01/15 23:26:17 gurustu Exp $
- Author:
- : $Author: gurustu $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Repository
public Repository(String name,
String shortDescription,
String longDescription)
- Default constructor.
getLongDescription
public String getLongDescription()
- Returns:
- Returns the longDescription.
setLongDescription
public void setLongDescription(String longDescription)
- Parameters:
longDescription
- The longDescription to set.
getName
public String getName()
- Returns:
- Returns the name.
setName
public void setName(String name)
- Parameters:
name
- The name to set.
getShortDescription
public String getShortDescription()
- Returns:
- Returns the shortDescription.
setShortDescription
public void setShortDescription(String shortDescription)
- Parameters:
shortDescription
- The shortDescription to set.
getPathFromFileList
public static String getPathFromFileList(List files)
- Returns a path string from a list of files.
getGeneralUrl
public String getGeneralUrl()
- Returns:
- Returns the generalUrl.
setGeneralUrl
public void setGeneralUrl(String generalUrl)
- Parameters:
generalUrl
- The generalUrl to set.
hasGeneralUrl
public boolean hasGeneralUrl()
- Returns true if this repository has a valid general URL.