Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## be.fgov.ehealth.etee.crypto.utils
Class DataPipeInFile

    java.lang.Object
      be.fgov.ehealth.etee.crypto.utils.DataPipeInFile

All Implemented Interfaces:
  DataPipe, java.io.Closeable

    public class DataPipeInFile

extends java.lang.Object
implements DataPipe

Data pushed into the pipe is written to file.
Data read from the pipe is read from that file.

Constructor Summary
`DataPipeInFile(java.io.File file)`

Method Summary
`void` | `close()`
`java.io.InputStream` | `getFrom()` Reads data from the pipe.
`java.io.OutputStream` | `getTo()` Adds data to the pipe.

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

Constructor Detail

### DataPipeInFile

    public DataPipeInFile(java.io.File file)
                   throws java.io.FileNotFoundException

Parameters:
  `file` - used to store incoming data to and read outgoing data from
Throws:
  `java.io.FileNotFoundException`

Method Detail

### getFrom

    public java.io.InputStream getFrom()

  Description copied from interface: `DataPipe`
  Reads data from the pipe.

  Specified by:
    `getFrom` in interface `DataPipe`
  Returns:
    the from

### getTo

    public java.io.OutputStream getTo()

  Description copied from interface: `DataPipe`
  Adds data to the pipe.

  Specified by:
    `getTo` in interface `DataPipe`
  Returns:
    the to

### close

    public void close()

  Specified by:
    `close` in interface `java.io.Closeable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2019 eHealth. All Rights Reserved.