public static FromMatchesFilter create ( Jid address ) { return new FromMatchesFilter ( address , address != null ? address . hasNoResource ( ) : false ) ; }
Creates a filter matching on the from field . If the filter address is bare compares the filter address with the bare from address . Otherwise compares the filter address with the full from address .