Lines Matching refs:address
28 * address is a bare JID then the filter will match any address whose bare JID matches the
29 * specified JID. But if the specified address is a full JID then the filter will only match
36 private String address;
43 * Creates a "from" filter using the "from" field part. If the specified address is a bare JID
44 * then the filter will match any address whose bare JID matches the specified JID. But if the
45 * specified address is a full JID then the filter will only match if the sender of the packet
48 * @param address the from field value the packet must match. Could be a full or bare JID.
50 public FromMatchesFilter(String address) {
51 if (address == null) {
54 this.address = address.toLowerCase();
55 matchBareJID = "".equals(StringUtils.parseResource(address));
64 return packet.getFrom().toLowerCase().startsWith(address);
68 return address.equals(packet.getFrom().toLowerCase());
73 return "FromMatchesFilter: " + address;