public void addSupportedFeatures(String supportsString) {
        String[] stringFeatureReps = supportsString.replace("$Supports ","").split("\\s+");
        for (String stringFeature : stringFeatureReps) {
            try {
                stringFeature = stringFeature.replace("\\|", "");
                SupportsFeature feature = SupportsFeature.valueOf(stringFeature);
                supportedFeatures.add(feature);
            } catch (IllegalArgumentException e){
                //no such supports feature. swallow error
            }
        }
    }