Use this to check whether or not a file exists on the filesystem. @param file String that represent the file, including the full path to the file and its name. @return a boolean that will indicate whether or not the file exists.
(final String file)
| 109 | * @return a boolean that will indicate whether or not the file exists. |
| 110 | */ |
| 111 | public static boolean exists(final String file) { |
| 112 | return exists(file, false); |
| 113 | } |
| 114 | |
| 115 | /** |
| 116 | * Use this to check whether or not a file OR directory exists on the filesystem. |