Here’s an example to check if a directory is empty.
Example
package com.mkyong.file; import java.io.File; public class CheckEmptyDirectoryExample { public static void main(String[] args) { File file = new File("C:\\folder"); if(file.isDirectory()){ if(file.list().length>0){ System.out.println("Directory is not empty!"); }else{ System.out.println("Directory is empty!"); } }else{ System.out.println("This is not a directory"); } } }
Here’s an example to check if a directory is empty. stitching unit , ladies tailor , custom tailor , tailor near me , tailor shop , Online Tailor Shop , tailoring company , custom tailoring services , stitching unit , best online tailor
ReplyDeletesupreme clothing
ReplyDeletebalenciaga shoes
calvin klein underwear
kd 12 shoes
curry 6
yeezy shoes
supreme clothing
curry 5
moncler coat
kanye west yeezy
high quality replica handbags high quality designer replica best replica bags online
ReplyDeletereplica bags hong kong replica bags korea replica bags hong kong
ReplyDeletevisit the website replica bags china check these guys out bags replica gucci more info here replica louis vuitton
ReplyDeleteyou can find out more n3z24j7b51 designer replica luggage 7a replica bags meaning replica bags for sale click for info z1i37t6x76 best replica bags online 2018 replica bags online shopping india anonymous n2j60b7a22 joy replica bags review
ReplyDelete