I have been given an answer in question:
Create folders from folder id and parent id in java
It was very useful but I do not understand the last part of the answer:
“Finally, just grab the folder with id 0 and start building your Files on the disk, using folder.getChildren() as a convenient way to move down the tree. Check out the javadoc on the File object, you will particularly want to use the mkdirs() method.”
I don’t even know where to being to implement it. Does anyone understand it?
Thank You
Once your tree of
Folderinstances has been built, the root of the tree is theFolderwith ID 0.Start with this folder, and create a directory in the file system for each of its children, recursively: