org.concord.biologica.engine
Class PathStrings

java.lang.Object
  |
  +--org.concord.biologica.engine.PathStrings

public final class PathStrings
extends java.lang.Object

PathStrings is a class containing static references to path strings used in various parts of BioLogica, including the engine. So it's put here in engine as the core package of the Biologica packages, making these methods available throughout Biologica.

Version:
$Revision: 1.5 $ $Date: 2002/02/19 22:18:17 $
Author:
$Author: dima $

Constructor Summary
PathStrings()
           
 
Method Summary
static java.lang.String getGIFDirectory()
          Get the Gif Directory, which will end with a file separator
static java.net.URL getGIFURL(java.lang.String fn)
           
static java.lang.String getHTMLDirectory()
           
static java.net.URL getHTMLURL(java.lang.String fn)
           
static java.net.URL getResource(java.lang.Object object, java.lang.String resource)
           
static java.net.URL getResource(java.lang.String resource)
           
static java.io.InputStream getResourceAsStream(java.lang.Object object, java.lang.String resource)
           
static java.io.InputStream getResourceAsStream(java.lang.String resource)
           
static java.lang.String getSpeciesDirectory()
          Get the Species Directory, which will end with a file separator
static java.lang.String getWorldsDirectory()
          Get the Worlds Directory, which will end with a file separator
static void setApplet(java.applet.Applet theApplet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathStrings

public PathStrings()
Method Detail

setApplet

public static void setApplet(java.applet.Applet theApplet)

getGIFDirectory

public static java.lang.String getGIFDirectory()
Get the Gif Directory, which will end with a file separator
Returns:
String - gif directory path with a file separator at the end

getWorldsDirectory

public static java.lang.String getWorldsDirectory()
Get the Worlds Directory, which will end with a file separator
Returns:
String - worlds directory path with a file separator at the end

getSpeciesDirectory

public static java.lang.String getSpeciesDirectory()
Get the Species Directory, which will end with a file separator
Returns:
String - species directory path with a file separator at the end

getHTMLDirectory

public static java.lang.String getHTMLDirectory()

getHTMLURL

public static java.net.URL getHTMLURL(java.lang.String fn)

getGIFURL

public static java.net.URL getGIFURL(java.lang.String fn)

getResource

public static java.net.URL getResource(java.lang.Object object,
                                       java.lang.String resource)

getResource

public static java.net.URL getResource(java.lang.String resource)

getResourceAsStream

public static java.io.InputStream getResourceAsStream(java.lang.Object object,
                                                      java.lang.String resource)

getResourceAsStream

public static java.io.InputStream getResourceAsStream(java.lang.String resource)