com.sshtools.j2ssh.configuration
Class ConfigurationLoader

java.lang.Object
  |
  +--com.sshtools.j2ssh.configuration.ConfigurationLoader

public class ConfigurationLoader
extends java.lang.Object

Performs one time configuration loading for the JSSH project.

Version:
1.0
Author:
Lee David Painter ( lee@sshtools.com )

Constructor Summary
protected ConfigurationLoader()
          Constructor for the ConfigurationLoader object
 
Method Summary
static SshAPIConfiguration getAPIConfiguration()
           Gets the API Configuration instance.
static java.lang.String getConfigurationLocation()
           Returns the sshtools home directory.
static void init()
           Static method to call so we can invoke the static block, just in case we don't want to wait for a static call to getAPIConfiguration() .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationLoader

protected ConfigurationLoader()
Constructor for the ConfigurationLoader object

Method Detail

init

public static void init()

Static method to call so we can invoke the static block, just in case we don't want to wait for a static call to getAPIConfiguration() .


getAPIConfiguration

public static SshAPIConfiguration getAPIConfiguration()

Gets the API Configuration instance.

Returns:

getConfigurationLocation

public static java.lang.String getConfigurationLocation()

Returns the sshtools home directory. If the system property is not found then the loader defaults to java.home/lib. This method will always return the path with a trailing File.separator

Returns:


Copyright © 2002 Sshtools.com. All Rights Reserved.