class ScenarioExtractorUtil {

    public static List<Long> extractFunctionalityIds(String scenarioName) {
        List<Long> ids = new ArrayList<>();
        for (final String maybeId : maybeIds(scenarioName)) {
            try {
                ids.add(Long.valueOf(maybeId.trim()));
            } catch (final NumberFormatException e) {
                // Will be output in scenario.wrong_functionality_ids"
            }
        }
        return ids;
    }

}