public Collection getKeys()

in spring-registry/spring-registry-commons/src/main/java/org/apache/archiva/components/registry/commons/CommonsConfigurationRegistry.java [298:318]


    public Collection<String> getKeys( )
    {
        Set<String> keys = new HashSet<>( );

        for ( Iterator<String> i = configuration.getKeys( ); i.hasNext( ); )
        {
            String key = i.next( );

            int index = key.indexOf( '.' );
            if ( index < 0 )
            {
                keys.add( key );
            }
            else
            {
                keys.add( key.substring( 0, index ) );
            }
        }

        return keys;
    }