org.neuroph.util.io
Class FileInputAdapter
- java.lang.Object
-
- org.neuroph.util.io.InputStreamAdapter
-
- org.neuroph.util.io.FileInputAdapter
-
- All Implemented Interfaces:
- InputAdapter
public class FileInputAdapter extends InputStreamAdapter
Implementation of InputAdapter interface for reading neural network inputs from files.- See Also:
InputAdapter
-
-
Constructor Summary
Constructors Constructor and Description FileInputAdapter(java.io.File file)Creates a new FileInputAdapter by opening a connection to an actual file, specified by the file paramFileInputAdapter(java.lang.String fileName)Creates a new FileInputAdapter by opening a connection to an actual file, specified by the fileName param
-
Method Summary
-
Methods inherited from class org.neuroph.util.io.InputStreamAdapter
close, readInput
-
-
-
-
Constructor Detail
-
FileInputAdapter
public FileInputAdapter(java.io.File file) throws java.io.FileNotFoundExceptionCreates a new FileInputAdapter 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 found
-
FileInputAdapter
public FileInputAdapter(java.lang.String fileName) throws java.io.FileNotFoundExceptionCreates a new FileInputAdapter 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 found
-
-
DMelt 3.0 © DataMelt by jWork.ORG