net.csdn.common.env
Class Environment

java.lang.Object
  extended by net.csdn.common.env.Environment

public class Environment
extends Object

BlogInfo: william Date: 11-9-1 Time: 下午3:51


Constructor Summary
Environment()
           
Environment(Settings settings)
           
 
Method Summary
 File configFile()
          The config location.
 File dataFile()
          The data location.
 File dataWithClusterFile()
          The data location with the cluster name as a sub directory.
 File dictionariesFile()
          The home of dictionaries
 File fingerprintFile()
           
 File gateway()
           
 File homeFile()
          The home of the installation.
 File logsFile()
           
 File pluginsFile()
           
 URL resolveConfig(String path)
           
 String resolveConfigAndLoadToString(String path)
           
 File templateDirFile()
           
 File workFile()
          The work location.
 File workWithClusterFile()
          The work location with the cluster name as a sub directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Environment

public Environment()

Environment

public Environment(Settings settings)
Method Detail

homeFile

public File homeFile()
The home of the installation.


dictionariesFile

public File dictionariesFile()
The home of dictionaries


workFile

public File workFile()
The work location.


workWithClusterFile

public File workWithClusterFile()
The work location with the cluster name as a sub directory.


dataFile

public File dataFile()
The data location.


dataWithClusterFile

public File dataWithClusterFile()
The data location with the cluster name as a sub directory.


configFile

public File configFile()
The config location.


pluginsFile

public File pluginsFile()

logsFile

public File logsFile()

gateway

public File gateway()

fingerprintFile

public File fingerprintFile()

templateDirFile

public File templateDirFile()

resolveConfigAndLoadToString

public String resolveConfigAndLoadToString(String path)
                                    throws FailedToResolveConfigException,
                                           IOException
Throws:
FailedToResolveConfigException
IOException

resolveConfig

public URL resolveConfig(String path)
                  throws FailedToResolveConfigException
Throws:
FailedToResolveConfigException


Copyright © 2014. All Rights Reserved.