- Openinputfile Public Static Java Io File Openinputfile Java Lang String Filename The Openinputfile Method Receives A Fi 1 (21.35 KiB) Viewed 25 times
openInputFile public static java.io.File openInputFile(java.lang.String filename) The openInputFile method receives a fi
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
openInputFile public static java.io.File openInputFile(java.lang.String filename) The openInputFile method receives a fi
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