import java.io.IOException;
import java.io.InputStream;
-
/**
* Resource implemention for reading from a file.
- *
+ *
* @author Erik Brakkee
*/
public class FileResource implements InputResource {
*/
private File file;
-/**
+ /**
* Constructs the resource.
- *
+ *
* @param aFile
* File to read.
*/
/*
* (non-Javadoc)
- *
+ *
* @see org.wamblee.io.InputResource#getInputStream()
*/
- /**
- * DOCUMENT ME!
- *
- * @return DOCUMENT ME!
- *
- * @throws IOException DOCUMENT ME!
- */
public InputStream getInputStream() throws IOException {
return new BufferedInputStream(new FileInputStream(file));
}