Datamodel for managing Bookmark objects similar to a local-filesystem.
This model mimics a file-system such that there are folders and bookmarks. This model provides various utility
methods for creating paths and adding bookmarks. The filesystem if will is based of an internal hashmap of
fully-qualified paths as the key(s) and for each path an array list of full-paths as sub paths and Bookmark object(s)
represent a folder in a logical sense.
In terms of paths they are of the form '/my folder/sub-1/sub-2/' using '/' is obviously always the root-path as well
as the root-node of this tree model.
This object provides it's own persistence methods to ensure that this model is properly encoded in UTF-8 for XML
format. iSQL-Viewer will store a 'bookmarks.xml' file in the designated $isql.home property. The persistence
mechanisims ensure UTF8 format by using Charset object of the nio packages.
See Also: java.nio.charset.Charset author: Markus A. Kobold <mkobold at sprintpcs dot com> version: 1.0 |