Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java check if file exists

import java.io.File;

File tmpDir = new File("/var/tmp");
boolean exists = tmpDir.exists();
Source by alvinalexander.com #
 
PREVIOUS NEXT
Tagged: #java #check #file #exists
ADD COMMENT
Topic
Name
9+5 =