Methods Summary |
---|
protected void | checkMIDPPermission(java.lang.String url)
//The actual MIDP permission check happens here
|
public java.io.DataInputStream | openDataInputStream()
return new DataInputStream(openInputStream());
|
public java.io.DataOutputStream | openDataOutputStream()
return new DataOutputStream(openOutputStream());
|
public java.io.InputStream | openInputStream()
/*
* Open the input stream if it has not already been opened.
* @exception IOException is thrown if it has already been
* opened.
*/
if (maxIStreams == 0) {
throw new IOException("no more input streams available");
}
InputStream i = super.openInputStream();
maxIStreams--;
iStreams++;
return i;
|
public java.io.OutputStream | openOutputStream()
if (maxOStreams == 0) {
throw new IOException("no more output streams available");
}
OutputStream o = super.openDataOutputStream();
maxOStreams--;
oStreams++;
return o;
|