Java Reference
In-Depth Information
APPENDIX
■ ■ ■
MIDP API Reference
T his appendix is a reference for the classes and interfaces of the MIDP API. This reference is
designed to help you quickly find the signature of a method in the MIDP API. Exceptions and
errors are not included. Optional APIs are not included.
For a full description of any class, interface, or method, consult the API documentation,
either in HTML (usually distributed with a MIDP toolkit) or in the MIDP specification itself.
The API listings are alphabetical, grouped by package.
This reference covers MIDP 2.0, CLDC 1.0, and CLDC 1.1. Methods that are new in CLDC 1.1
are marked with a plus sign (+). You will find implementations of MIDP 2.0 paired with either
CLDC 1.0 or CLDC 1.1 on currently available devices; keep this in mind as you browse the
reference.
Package java.io
Class java.io.ByteArrayInputStream
public class ByteArrayInputStream
extends java.io.InputStream {
// Constructors
public ByteArrayInputStream(byte[] buf);
public ByteArrayInputStream(byte[] buf, int offset, int length);
// Methods
public synchronized int available();
public synchronized void close();
public void mark(int readAheadLimit);
public boolean markSupported();
public synchronized int read();
public synchronized int read(byte[] b, int off, int len);
public synchronized void reset();
public synchronized long skip(long n);
}
367
Search WWH ::




Custom Search