开发者

Store directory tree in sqlite with java

What is the best way to sto开发者_运维技巧re a direcory tree (with file/subdirs names) on sqlite database? (any java example code would be appreciated)


If you want to just store and retrieve the entire directory tree listing, you could save it as an XML file. If you want to make the tree structure visible to sqlite so you can select or change pieces of it (e.g., count the number of files), that's a bit more complicated. See my earlier post here, and especially the article that it links to.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜