aicas logoJamaica 3.2 release 62

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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

READ_WRITE

public static final int READ_WRITE
See Also:
Constant Field Values

READ

public static final int READ
See Also:
Constant Field Values

WRITE

public static final int WRITE
See Also:
Constant Field Values
Constructor Detail

Connector

public Connector()
Method Detail

open

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

open

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

open

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

openDataInputStream

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

openDataOutputStream

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

openInputStream

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

openOutputStream

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

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.