Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

"
For updated information see the Java FRC site
"