Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java check if path exists

private final File pathToUploads = new File("path/to/folder");
if (pathToUploads.exists() && pathToUploads.isDirectory()) {
 	//do what you want 
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #check #path #exists
ADD COMMENT
Topic
Name
9+5 =