new-integration-tests/src/test/java/oracle/weblogic/kubernetes/utils/FileUtils.java
public static void checkFile(String fileName) throws FileNotFoundException {
    File file = new File(fileName);
    if (!(file.exists() && file.isFile())) {
      getLogger().warning("The expected file {0} was not found.", fileName);
      throw new FileNotFoundException("The expected file " + fileName + " was not found.");
    }
  }
/**
   * Check if the required file exists, and throw if the file does not exist.
   *
   * @param fileName the name of the file that needs to be checked
   * @throws FileNotFoundException if the file does not exist, or it is a directory
   */
Check if the required file exists, and throw if the file does not exist.
@param fileName the name of the file that needs to be checked
@throws FileNotFoundException if the file does not exist, or it is a directory
Check if the required file exists and throw if the file does not exist . @param fileName the name of the file that needs to be checked @throws FileNotFoundException if the file does not exist or it is a directory
public static void checkFile(String fileName) throws FileNotFoundException {
    File file = new File(fileName);
    if (!(file.exists() && file.isFile())) {
      getLogger().warning("The expected file {0} was not found.", fileName);
      throw new FileNotFoundException("The expected file " + fileName + " was not found.");
    }
  }
public static void checkFile ( String fileName ) throws FileNotFoundException { File file = new File ( fileName ) ; if ( ! ( file . exists ( ) && file . isFile ( ) ) ) { getLogger ( ) . warning ( "The expected file {0} was not found." , fileName ) ; throw new FileNotFoundException ( "The expected file " + fileName + " was not found." ) ; } }
Check if the required file exists, and throw if the file does not exist.
Check if the required file exists and throw if the file does not exist .