|
Sep
23
|
You can determine if a file exists using the File classes exists() method.
File file = new File(filename);
if (file.exists())
{
// file exists
}
else
{
// file does not exist
}
|
|
You can determine if a file exists using the File classes exists() method.
File file = new File(filename);
if (file.exists())
{
// file exists
}
else
{
// file does not exist
}
Leave a Reply |
|
Recent Comments