开发者

File library that help creating paths

I开发者_开发知识库'm looking for a file utilities library that help creating paths, i.e. if I want to create a file in "a/b/c/x/y/z", it will check if each directory exists and creates it if not.


How about reading the File javadoc

Specifically, given File foo which represents a text file you want to create, you can execute foo.getParentFile().mkdirs().


File.mkdirs()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜