*/
private List<String> extractProperties(final InputStream inputStream) {
if (inputStream != null) {
try {
final SAXBuilder saxBuilder = new SAXBuilder();
saxBuilder.setEntityResolver(new CheckStyleEntityResolver());
final Document configDoc = saxBuilder.build(inputStream);
return extractProperties(configDoc.getRootElement());
} catch (Exception e) {
LOG.error("CheckStyle file could not be parsed for properties.", e);