|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.model.connection.url.FileInteraction
public class FileInteraction
FileInteraction represents a interaction instance. The interaction instance provides the actual physical channel to communicate with the resource
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 |
---|
protected java.io.File mFile
Constructor Detail |
---|
protected FileInteraction(java.io.File file) throws ConnectionException
file
- The physical File Handle to the resource.{@link
- ConnectionException} if the channels cannot be established.ConnectionException
Method Detail |
---|
public java.io.InputStream getInputStream()
InputStream
to read data from this File resourceInputStream
channel for this File resource.public java.io.OutputStream getOutputStream()
OutputStream
to write data to this file resourceOutputStream
channel for this File resource.protected void stop()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |