java.lang
Class ProcessBuilder

java.lang.Object
  extended by java.lang.ProcessBuilder

public final class ProcessBuilder
extends Object

This is a stub, to allow compile on Java 1.6

This class would never be loaded in runtime.

Author:
Alexey Ragozin (alexey.ragozin@gmail.com)

Constructor Summary
ProcessBuilder(List<String> command)
           
ProcessBuilder(String... command)
           
 
Method Summary
 List<String> command()
           
 ProcessBuilder command(List<String> command)
           
 ProcessBuilder command(String... command)
           
 File directory()
           
 ProcessBuilder directory(File directory)
           
 Map<String,String> environment()
           
 ProcessBuilder inheritIO()
           
 boolean redirectErrorStream()
           
 ProcessBuilder redirectErrorStream(boolean redirectErrorStream)
           
 Process start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessBuilder

public ProcessBuilder(List<String> command)

ProcessBuilder

public ProcessBuilder(String... command)
Method Detail

command

public ProcessBuilder command(List<String> command)

command

public ProcessBuilder command(String... command)

command

public List<String> command()

environment

public Map<String,String> environment()

directory

public File directory()

directory

public ProcessBuilder directory(File directory)

inheritIO

public ProcessBuilder inheritIO()

redirectErrorStream

public boolean redirectErrorStream()

redirectErrorStream

public ProcessBuilder redirectErrorStream(boolean redirectErrorStream)

start

public Process start()
              throws IOException
Throws:
IOException


Copyright © 2019. All Rights Reserved.