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.
精彩评论