Package alt.java.io
Class IOFactoryImpl
- java.lang.Object
-
- alt.java.io.IOFactoryImpl
-
-
Constructor Summary
Constructors Constructor Description IOFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
createFile(java.lang.String fileName)
java.io.InputStream
createInputStream(File aFile)
java.io.OutputStream
createOutputStream(File aFile)
-
-
-
Method Detail
-
createInputStream
public java.io.InputStream createInputStream(File aFile) throws java.io.FileNotFoundException
- Specified by:
createInputStream
in interfaceIOFactory
- Throws:
java.io.FileNotFoundException
-
createOutputStream
public java.io.OutputStream createOutputStream(File aFile) throws java.io.FileNotFoundException
- Specified by:
createOutputStream
in interfaceIOFactory
- Throws:
java.io.FileNotFoundException
-
createFile
public File createFile(java.lang.String fileName)
- Specified by:
createFile
in interfaceIOFactory
-
-