jcommon.core
Class Process

java.lang.Object
  extended by jcommon.core.Process

public class Process
extends Object

Sets/gets the current (present) working directory, process identifier (pid), and other process-related information.

Author:
David Hoyt

Constructor Summary
Process()
           
 
Method Summary
static boolean changeWorkingDirectory(File path)
           
static boolean changeWorkingDirectory(String path)
           
static int queryLastError()
           
static int queryPID()
           
static String queryWorkingDirectory()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Process

public Process()
Method Detail

queryLastError

public static int queryLastError()

queryPID

public static int queryPID()

queryWorkingDirectory

public static String queryWorkingDirectory()

changeWorkingDirectory

public static boolean changeWorkingDirectory(File path)

changeWorkingDirectory

public static boolean changeWorkingDirectory(String path)


Copyright © 2012-2013. All Rights Reserved.