"

2013 FRC Java API

"

com.sun.squawk.io.connections
Interface ClasspathConnection

All Superinterfaces:
Connection

public interface ClasspathConnection
extends Connection


Method Summary
 byte[] getBytes(String name)
          Convenience method that provides access to the bytes to be found by doing a openInputStream(String) on file named name.
 InputStream openInputStream(String name)
           
 
Methods inherited from interface javax.microedition.io.Connection
close
 

Method Detail

openInputStream

InputStream openInputStream(String name)
                            throws IOException
Throws:
IOException

getBytes

byte[] getBytes(String name)
                throws IOException
Convenience method that provides access to the bytes to be found by doing a openInputStream(String) on file named name.

Parameters:
name - Name of the resource to open and fetch bytes from
Returns:
byte[] bytes read in
Throws:
IOException - if any error occurs opening or reading bytes from the stream openInputStream(String)

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"