Resource lookup

A tool that allows to search for resources (files) provided by the system.
This can be useful, because the system combines relative paths of modules, to a single path, which no longer contains a reference to the corresponding module.
The word 'ENV' is a keyword, which points to the root path of the system environment (e.g. /usr/local/lobster_data/PRO/*, * is a symbolic placeholder for the modules).

Two different functions are provided for searching. Lookup and list.

Lookup

Lists existing files and folders.

Example: Search for all error.properties files

Search value:
ENV/etc/locale/en/error.properties

Result list:
jar:file:/usr/local/lobster_data/PRO/coresystem.server.mar!/etc/locale/en/error.properties
jar:file:/usr/local/lobster_data/PRO/scm.base.server.mar!/etc/locale/en/error.properties
jar:file:/usr/local/lobster_data/PRO/scm.shipment.server.mar!/etc/locale/en/error.properties

List

Lists all files and folders of a directory.

Example: List all files within etc/locale/en

Search value:
ENV/etc/locale/en

Result list:

jar:file:/usr/local/lobster_data/SCM/coresystem.server.mar!/etc/locale/en/icons/
jar:file:/usr/local/lobster_data/SCM/coresystem.server.mar!/etc/locale/en/FocusElementMode.properties
jar:file:/usr/local/lobster_data/SCM/coresystem.server.mar!/etc/locale/en/FormRenderer.properties
etc.