Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.adf.model.connection.url
Class FileInteraction

java.lang.Object
  extended by oracle.adf.model.connection.url.FileInteraction


public class FileInteraction
extends java.lang.Object

FileInteraction represents a interaction instance. The interaction instance provides the actual physical channel to communicate with the resource

Since:
10.1.3

Field Summary
protected  java.io.File mFile
           

 

Constructor Summary
protected FileInteraction(java.io.File file)
          Create a new instance of the FileInteraction.

 

Method Summary
 java.io.InputStream getInputStream()
          Get the InputStream to read data from this File resource
 java.io.OutputStream getOutputStream()
          Get the OutputStream to write data to this file resource
protected  void stop()
          Stop this interaction instance.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

mFile

protected java.io.File mFile

Constructor Detail

FileInteraction

protected FileInteraction(java.io.File file)
                   throws ConnectionException
Create a new instance of the FileInteraction. Set up the channels of communication for this resource.
Parameters:
file - The physical File Handle to the resource.
Throws:
{@link - ConnectionException} if the channels cannot be established.
ConnectionException

Method Detail

getInputStream

public java.io.InputStream getInputStream()
Get the InputStream to read data from this File resource
Returns:
The InputStream channel for this File resource.

getOutputStream

public java.io.OutputStream getOutputStream()
Get the OutputStream to write data to this file resource
Returns:
The OutputStream channel for this File resource.

stop

protected void stop()
Stop this interaction instance. Flush out and close the physical channels that have been opened to this resource.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


Copyright © 1997, 2011, Oracle. All rights reserved.