Community
Participate
Working Groups
String urlString = URI.createFileURI(path).toString();
return urlString.startsWith("file:/");
}catch(Exception e){
e.printStackTrace();
// the exception is showing that the path is not a local file
}
return false;