javax.microedition.io
Class Connector

java.lang.Object
  extended by javax.microedition.io.Connector

public class Connector
extends Object

This class delegated all calls to MicroeditionConnector 1) Solves Bytecode comatibilty problems. Application compiled with bluecove.jar should run on java me platform. 2) Use standard Protocol initialization to enable integration in other environments. vlads changes: Move Original code to MicroeditionConnector


Field Summary
static int READ
           
static int READ_WRITE
           
static int WRITE
           
 
Method Summary
static Connection open(String name)
           
static Connection open(String name, int mode)
           
static Connection open(String name, int mode, boolean timeouts)
           
static DataInputStream openDataInputStream(String name)
           
static DataOutputStream openDataOutputStream(String name)
           
static InputStream openInputStream(String name)
           
static OutputStream openOutputStream(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

READ

public static final int READ
See Also:
Constant Field Values

WRITE

public static final int WRITE
See Also:
Constant Field Values

READ_WRITE

public static final int READ_WRITE
See Also:
Constant Field Values
Method Detail

open

public static Connection open(String name)
                       throws IOException
Throws:
IOException

open

public static Connection open(String name,
                              int mode)
                       throws IOException
Throws:
IOException

open

public static Connection open(String name,
                              int mode,
                              boolean timeouts)
                       throws IOException
Throws:
IOException

openDataInputStream

public static DataInputStream openDataInputStream(String name)
                                           throws IOException
Throws:
IOException

openDataOutputStream

public static DataOutputStream openDataOutputStream(String name)
                                             throws IOException
Throws:
IOException

openInputStream

public static InputStream openInputStream(String name)
                                   throws IOException
Throws:
IOException

openOutputStream

public static OutputStream openOutputStream(String name)
                                     throws IOException
Throws:
IOException


JSR-82 Javadocs Apache License, Version 2.0 Copyright © 2001-2008 Motorola, Inc. ALL RIGHTS RESERVED.
BlueCove Javadocs
Apache License, Version 2.0 Copyright © 2004-2008 BlueCove Team.