src/main/java/org/jboss/net/protocol/file/FileURLConnection.java
/**
    * Checks if the underlying file for this connection exists.
    *
    * @throws FileNotFoundException
    */
Checks if the underlying file for this connection exists.
Checks if the underlying file for this connection exists .
public void connect() throws IOException
   {
      if (connected)
         return;
      if (!file.exists())
      {
         throw new FileNotFoundException(file.getPath());
      }
      connected = true;
   }
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.
Checks if the underlying file for this connection exists .