I need to read a file from a specified path. E.g: I have a file called abc.txt and it resides inside /dev/user/assets/data/abc.png. If one has to read from a Zip file we do something like
Zipfile zipFile = new ZipFile("test.zip"); ZipEntry entry = zipFile.getEntry(imagePath); // where image path is /dev/user/assets/data/abc.png. Is there a code something similar to the above for reading from a folder? Like
File folder = new Folder("Users"); and give the path "/dev/user/assets/data/abc.png" to the above and read the image.