类 DefaultProcessingEnvironment

java.lang.Object
com.sh.common.exec.environment.DefaultProcessingEnvironment
直接已知子类:
OpenVmsProcessingEnvironment

public class DefaultProcessingEnvironment extends Object
Description: Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
  • 字段详细资料

    • procEnvironment

      protected Map procEnvironment
      the environment variables of the process
  • 构造器详细资料

    • DefaultProcessingEnvironment

      public DefaultProcessingEnvironment()
  • 方法详细资料

    • getProcEnvironment

      public Map getProcEnvironment() throws IOException
      Find the list of environment variables for this process.
      返回:
      a map containing the environment variables
      抛出:
      IOException - obtaining the environment variables failed
    • createProcEnvironment

      protected Map createProcEnvironment() throws IOException
      Find the list of environment variables for this process.
      返回:
      a amp containing the environment variables
      抛出:
      IOException - the operation failed
    • runProcEnvCommand

      protected BufferedReader runProcEnvCommand() throws IOException
      Start a process to list the environment variables.
      返回:
      a reader containing the output of the process
      抛出:
      IOException - starting the process failed
    • getProcEnvCommand

      protected CommandLine getProcEnvCommand()
      Determine the OS specific command line to get a list of environment variables.
      返回:
      the command line