public StreamImpl openReadImpl ( ) throws IOException { if ( _isWindows && isAux ( ) ) throw new FileNotFoundException ( _file . toString ( ) ) ; /* XXX: only for Solaris (?) if (isDirectory()) throw new IOException("is directory"); */ return new FileReadStream ( new FileInputStream ( getFile ( ) ) , this ) ; }
Returns the stream implementation for a read stream .