Programmer Reference : UNIX inter-process communication : UNIX pipe stream : UNIX write pipe stream method specification
UNIX write pipe stream method specification
UNIXWritePipeStream methods are described in the following section.
UNIXWritePipeStream class methods
for:
Answers a new, initialized instance of a UNIXWriteReadPipeStream for the specified process.
UNIXWritePipeStream methods
atEnd
Answers a Boolean that is true if the receiver cannot access any more objects, otherwise answers false.
 
blocking:
Sets a Boolean that indicates whether or not the receiver will block on I/O operations. Answers the receiver.
 
close
Closes the receiver's associated UNIX pipe. If any unwritten information remains in the receiver, it is flushed to the operating system before the pipe is closed. The operating system pipe is closed, and the receiver is no longer valid for flush or write operations. Answers the receiver.
 
contents
Answers the current contents of the receiver as a String.
 
cr
Writes a logical carriage return to the receiver.
Note:
Currently, all write operations are blocking.
 
flush
Guarantees that all available data in the receiver is sent to the operating system pipe. This is a blocking operation. Answers the receiver.
 
isBlocking
Answers true if the receiver has been set to block on I/O, otherwise answers false.
 
isBytes
Answers true if the receiver handles I/O data as bytes, otherwise answers false.
 
isBytes:
If flag is true, sets the receiver's I/O data type to bytes. If flag is false, sets the I/O data type to characters. Answers the receiver.
 
isCharacters
Answers true if the receiver handles I/O data as characters.
 
isCharacters:
If flag is true, sets the receiver's I/O data type to characters. If flag is false, sets the I/O data type to bytes. Answers the receiver.
 
isEmpty
Answers true if the receiver pipe stream currently contains no elements, otherwise answers false.
 
lineDelimiter
Returns the line delimiter of the receiver.
 
lineDelimiter:
Sets the line delimiter of the receiver to be the specified string.
 
next:put:
Answers the specified object. Puts the object to the receiver's pipe the number of times specified by next:. Fails if next: does not specify an integer.
 
nextPut:
Writes a byte or a character to the receiver's pipe. Answers the receiver.
 
nextPutAll:
Writes the specified sequential collection to the receiver's pipe. Answers the sequential collection.
 
position
Answers the current position of the receiver.
 
position:
Sets the current position of the receiver to the specified integer. If the position is out of bounds, sets the position to the closest valid position.
 
reset
Positions the receiver to the beginning of the collection being streamed over. Answers the receiver.
 
setToEnd
Sets the receiver's position reference to be the size of the underlying contents. Answers the receiver.
 
size
Answers the number of elements in the receiver.
 
skip:
Increments the position of the receiver by the specified integer.
 
space
Writes a space character to the receiver's pipe.
 
tab
Writes a tab character to the receiver's pipe.
Last modified date: 01/29/2015