openInputFile public static java.io.File openInputFile(java.lang.String filename) The openInputFile method receives a fi
Posted: Sun Jul 03, 2022 11:59 am
openInputFile public static java.io.File openInputFile(java.lang.String filename) The openInputFile method receives a filename, attempts to open that filename, if succesful a File object containing information on the file is returned. Parameters: filename - The String representing the filename Returns: File - Representing an object to the open file Throws: java.lang.IllegalArgumentException - if the String object is null java.lang. IllegalArgumentException - if the String is empty java.lang.RuntimeException - if the file could not be opened