public PropertiesAdapter filter ( Filter < String > filter ) { Properties properties = new Properties ( ) ; for ( String propertyName : this ) { if ( filter . accept ( propertyName ) ) { properties . setProperty ( propertyName , get ( propertyName ) ) ; } } return from ( properties ) ; }
Filters the properties from this adapter by name .