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.- See Also:
OutputAdapter
-
-
Constructor Summary
Constructors Constructor and Description FileOutputAdapter(java.io.File file)Creates a new FileOutputAdapter by opening a connection to an actual file, specified by the file paramFileOutputAdapter(java.lang.String fileName)Creates a new FileOutputAdapter by opening a connection to an actual file, specified by the fileName param
-
Method Summary
-
Methods inherited from class org.neuroph.util.io.OutputStreamAdapter
close, writeOutput
-
-
-
-
Constructor Detail
-
FileOutputAdapter
public FileOutputAdapter(java.io.File file) throws java.io.FileNotFoundException, java.io.IOExceptionCreates 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:
java.io.FileNotFoundException- if specified file was not foundjava.io.IOException
-
FileOutputAdapter
public FileOutputAdapter(java.lang.String fileName) throws java.io.FileNotFoundException, java.io.IOExceptionCreates 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:
java.io.FileNotFoundException- if specified file was not foundjava.io.IOException
-
-
DMelt 3.0 © DataMelt by jWork.ORG