Advertisement
thieumao

File Folder Android

May 11th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1. File file = new File(path);
  2.  
  3. file.exists();      // First, make sure the path exists
  4. file.isDirectory(); // This will tell you if it is a directory
  5. file.isFile();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement