Appending to a Path Java us -


is there easy way append path created this:

 final path path = files.createtempdirectory(...); 

suppose creates temp dir in /tmp/xyx_123/. want path create folder under /tmp/xyz_123/ called foo

 path.createdirectory("foo"); or path.appenddirectory("foo"); 

is there easy way this?

you can this:

path path = files.createtempdirectory("xyx_123"); file fpath = path.tofile(); file addeddir = new file(fpath, "foo"); addeddir.mkdir(); 

Comments

Popular posts from this blog

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

wordpress - (T_ENDFOREACH) php error -

Using django-mptt to get only the categories that have items -