OSDN Git Service

72911d2961b05f6b846deb362a5b453940b92d8a
[pf3gnuchains/gcc-fork.git] / libjava / java / lang / Win32Process.java
1 // Win32Process.java - Subclass of Process for Win32 systems.
2
3 /* Copyright (C) 2002  Free Software Foundation
4
5    This file is part of libgcj.
6
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9 details.  */
10
11 package java.lang;
12
13 import java.io.File;
14 import java.io.InputStream;
15 import java.io.OutputStream;
16 import java.io.IOException;
17
18 /**
19  * @author Adam Megacz
20  * @date Feb 24, 2002
21  */
22
23 // This is entirely internal to our implementation.
24
25 // NOTE: when this is implemented, we'll need to add
26 // HANDLE_FLAG_INHERIT in FileDescriptor and other places, to make
27 // sure that file descriptors aren't inherited by the child process.
28 // See _Jv_platform_close_on_exec.
29
30 // This file is copied to `ConcreteProcess.java' before compilation.
31 // Hence the class name apparently does not match the file name.
32 final class ConcreteProcess extends Process
33 {
34   public void destroy ()
35   {
36     throw new Error("not implemented");
37   }
38   
39   public int exitValue ()
40   {
41     throw new Error("not implemented");
42   }
43
44   public InputStream getErrorStream ()
45   {
46     throw new Error("not implemented");
47   }
48
49   public InputStream getInputStream ()
50   {
51     throw new Error("not implemented");
52   }
53
54   public OutputStream getOutputStream ()
55   {
56     throw new Error("not implemented");
57   }
58
59   public int waitFor () throws InterruptedException
60   {
61     throw new Error("not implemented");
62   }
63
64   public ConcreteProcess (String[] progarray,
65                           String[] envp,
66                           File dir)
67     throws IOException
68   {
69     throw new IOException("not implemented");
70   }
71
72 }