de.jiac.micro.internal.io
Class StreamMapper

java.lang.Object
  extended by de.jiac.micro.internal.io.AbstractConnectionMapper
      extended by de.jiac.micro.internal.io.StreamMapper
All Implemented Interfaces:
IStreamConnection, javax.microedition.io.Connection

public class StreamMapper
extends AbstractConnectionMapper

Version:
$Revision:$
Author:
Marcel Patzlaff

Field Summary
 
Fields inherited from class de.jiac.micro.internal.io.AbstractConnectionMapper
connection
 
Constructor Summary
StreamMapper()
           
 
Method Summary
 void initialise(javax.microedition.io.Connection mapped)
          Initialises this mapper.
protected  InputStream openInputStream()
           
protected  OutputStream openOutputStream()
           
 
Methods inherited from class de.jiac.micro.internal.io.AbstractConnectionMapper
close, equals, getInputStream, getOutputStream, hashCode, isOpen
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamMapper

public StreamMapper()
Method Detail

initialise

public final void initialise(javax.microedition.io.Connection mapped)
                      throws IOException
Description copied from class: AbstractConnectionMapper
Initialises this mapper.

Specified by:
initialise in class AbstractConnectionMapper
Parameters:
mapped - the open connection of a specific type
Throws:
IOException - if mapped has a wrong type or another problem occured

openInputStream

protected final InputStream openInputStream()
                                     throws IOException
Specified by:
openInputStream in class AbstractConnectionMapper
Throws:
IOException

openOutputStream

protected final OutputStream openOutputStream()
                                       throws IOException
Specified by:
openOutputStream in class AbstractConnectionMapper
Throws:
IOException


Copyright © 2008-2011 DAI-Labor. All Rights Reserved.