@ Deprecated public static Property getProperty ( Channel channel , String propertyName ) { Collection < Property > property = Collections2 . filter ( channel . getProperties ( ) , new PropertyNamePredicate ( propertyName ) ) ; if ( property . size ( ) == 1 ) return property . iterator ( ) . next ( ) ; else return null ; }
deprecated - use the channel . getProperty instead