Helper methods

Both the import and export functionalities rely on a map to determine the default permissions to be used when importing/exporting bookmarks. This enables the tool to omit a large amount of files.

To help with the creation of the map (in the example above, by storing the defaults in .properties files), a number of helper methods have been implemented.

The relevant method for the library calls is BookmarkTool.transformPermissionsStringsToMap(defaultOwners, defaultReaders), where defaultOwners and defaultReaders are String objects representing a comma-delimited list of user roles (e.g. ROLE_ADMIN,ROLE_CS_ROOT,ROLE_USER).