org.neuroph.util.io
Class FileOutputAdapter
java.lang.Object
org.neuroph.util.io.OutputStreamAdapter
org.neuroph.util.io.FileOutputAdapter
- All Implemented Interfaces:
- OutputAdapter
public class FileOutputAdapter
- extends OutputStreamAdapter
Implementation of OutputAdapter interface for writing neural network outputs to files.
- Author:
- Zoran Sevarac
- See Also:
OutputAdapter
Constructor Summary |
FileOutputAdapter(File file)
Creates a new FileOutputAdapter by opening a connection to an actual file,
specified by the file param |
FileOutputAdapter(String fileName)
Creates a new FileOutputAdapter by opening a connection to an actual file,
specified by the fileName param |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileOutputAdapter
public FileOutputAdapter(File file)
throws FileNotFoundException,
IOException
- Creates a new FileOutputAdapter by opening a connection to an actual file,
specified by the file param
- Parameters:
file
- File object in the file system
- Throws:
FileNotFoundException
- if specified file was not found
IOException
FileOutputAdapter
public FileOutputAdapter(String fileName)
throws FileNotFoundException,
IOException
- Creates a new FileOutputAdapter by opening a connection to an actual file,
specified by the fileName param
- Parameters:
fileName
- name of the file in file system
- Throws:
FileNotFoundException
- if specified file was not found
IOException
Copyright © 2012. All Rights Reserved.