The SonarAdapter is part of the UQASAR system. It implements the uQasarAdapter interface and provides an easy access to source code metrics in Sonar.
Instantiate the SonarAdapter class and call the method 'query' like follows:
SonarAdapter sonarAdapter = new SonarAdapter(, ); List measurements = sonarAdapter.query(, )
Both and are strings; they should specify specify a working Sonar instance (check it by pointing your browser to :).
The string should be a valid Sonar project resource name.