Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void sample() {
- // Its folder directory path, not a file
- File folderPath = new File("C:\MyFolder");
- // Here i'm having inpustream of the folderpath
- InputStream is = new FileInputStream(folderPath);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement