org.erowid.masterdoc
Class Repository

java.lang.Object
  extended byorg.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 $

Constructor Summary
Repository(String name, String shortDescription, String longDescription)
          Default constructor.
 
Method Summary
 String getGeneralUrl()
           
 String getLongDescription()
           
 String getName()
           
static String getPathFromFileList(List files)
          Returns a path string from a list of files.
 String getShortDescription()
           
 boolean hasGeneralUrl()
          Returns true if this repository has a valid general URL.
 void setGeneralUrl(String generalUrl)
           
 void setLongDescription(String longDescription)
           
 void setName(String name)
           
 void setShortDescription(String shortDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Repository

public Repository(String name,
                  String shortDescription,
                  String longDescription)
Default constructor.

Method Detail

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.


spero logo small Sperowider is
© 2005 Erowid.org