public static Set propertyTypesFromNames()

in src/main/java/org/apache/sling/clam/internal/ClamUtil.java [96:103]


    public static Set<Integer> propertyTypesFromNames(@NotNull final String[] names) throws Exception {
        final Set<Integer> propertyTypes = new HashSet<>();
        for (final String name : names) {
            final int propertyType = PropertyType.valueFromName(name);
            propertyTypes.add(propertyType);
        }
        return propertyTypes;
    }