public void connect ( ) throws IOException { if ( connected ) return ; if ( ! file . exists ( ) ) { throw new FileNotFoundException ( file . getPath ( ) ) ; } connected = true ; }
Checks if the underlying file for this connection exists .