Advertisement
Guest User

Untitled

a guest
Oct 1st, 2014
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. public void sample() {
  2. // Its folder directory path, not a file
  3. File folderPath = new File("C:\MyFolder");
  4.  
  5. // Here i'm having inpustream of the folderpath
  6. InputStream is = new FileInputStream(folderPath);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement