"

2013 FRC Java API

"

edu.wpi.first.wpilibj.networktables2.stream
Class SimpleIOStream

java.lang.Object
  extended by edu.wpi.first.wpilibj.networktables2.stream.SimpleIOStream
All Implemented Interfaces:
IOStream

public class SimpleIOStream
extends Object
implements IOStream

An IOStream that wraps an InputStream and an OutputStream

Author:
Mitchell

Constructor Summary
SimpleIOStream(InputStream is, OutputStream os)
          Create a new SimpleIOStream
 
Method Summary
 void close()
          completely close the stream
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleIOStream

public SimpleIOStream(InputStream is,
                      OutputStream os)
Create a new SimpleIOStream

Parameters:
is -
os -
Method Detail

getInputStream

public InputStream getInputStream()
Specified by:
getInputStream in interface IOStream
Returns:
the input stream for this IOStream

getOutputStream

public OutputStream getOutputStream()
Specified by:
getOutputStream in interface IOStream
Returns:
the output stream for this IOStream

close

public void close()
Description copied from interface: IOStream
completely close the stream

Specified by:
close in interface IOStream

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"