public class SpawnerOutputStream extends OutputStream
Constructor and Description |
---|
SpawnerOutputStream(int fd)
From a Unix valid file descriptor set a Reader.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the Reader
|
protected void |
finalize() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b)
Implementation of read for the InputStream.
|
flush, write
public SpawnerOutputStream(int fd)
fd
- file descriptor.public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
OutputStream.write(byte[], int, int)
public void write(int b) throws IOException
write
in class OutputStream
IOException
- on error.public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
- on error.protected void finalize() throws IOException
finalize
in class Object
IOException
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.