javax.microedition.io
Class Connector

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

public class Connector
extends Object


Field Summary
static int READ
           
static int READ_WRITE
           
static int WRITE
           
 
Constructor Summary
Connector()
           
 
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)
           
static void setStaticInstance(Connector delegate)
           
protected  Connection static_open(String name)
           
protected  Connection static_open(String name, int mode)
           
protected  Connection static_open(String name, int mode, boolean timeouts)
           
protected  DataInputStream static_openDataInputStream(String name)
           
protected  DataOutputStream static_openDataOutputStream(String name)
           
protected  InputStream static_openInputStream(String name)
           
protected  OutputStream static_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
Constructor Detail

Connector

public Connector()
Method Detail

setStaticInstance

public static void setStaticInstance(Connector delegate)

open

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

static_open

protected Connection static_open(String name)
                          throws IOException
Throws:
IOException

open

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

static_open

protected Connection static_open(String name,
                                 int mode)
                          throws IOException
Throws:
IOException

open

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

static_open

protected Connection static_open(String name,
                                 int mode,
                                 boolean timeouts)
                          throws IOException
Throws:
IOException

openDataInputStream

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

static_openDataInputStream

protected DataInputStream static_openDataInputStream(String name)
                                              throws IOException
Throws:
IOException

openDataOutputStream

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

static_openDataOutputStream

protected DataOutputStream static_openDataOutputStream(String name)
                                                throws IOException
Throws:
IOException

openInputStream

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

static_openInputStream

protected InputStream static_openInputStream(String name)
                                      throws IOException
Throws:
IOException

openOutputStream

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

static_openOutputStream

protected OutputStream static_openOutputStream(String name)
                                        throws IOException
Throws:
IOException


Copyright © 2006-2007 Jayway AB. All Rights Reserved.