Class RemoteFilterImpl
- java.lang.Object
- 
- org.eclipse.ecf.remoteservice.util.RemoteFilterImpl
 
- 
- All Implemented Interfaces:
- IRemoteFilter,- Filter
 - Direct Known Subclasses:
- RemoteFilterImpl,- RemoteServiceFilterImpl
 
 public class RemoteFilterImpl extends Object implements IRemoteFilter - Since:
- 3.0
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringREMOTE_SERVICEID_PREFIX
 - 
Constructor SummaryConstructors Constructor Description RemoteFilterImpl(String createFilter)RemoteFilterImpl(BundleContext context, String createFilter)RemoteFilterImpl(Filter filter)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static StringgetObjectClassFilterString(String objectClass)longgetRsId()inthashCode()booleanmatch(Dictionary dictionary)booleanmatch(IRemoteServiceReference reference)Filter using a remote service's properties.booleanmatch(ServiceReference reference)booleanmatchCase(Dictionary dictionary)booleanmatches(Map map)StringtoString()
 
- 
- 
- 
Field Detail- 
REMOTE_SERVICEID_PREFIXpublic static final String REMOTE_SERVICEID_PREFIX - Since:
- 8.4
- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
RemoteFilterImplpublic RemoteFilterImpl(String createFilter) throws InvalidSyntaxException - Parameters:
- createFilter- filter
- Throws:
- InvalidSyntaxException- if the createFilter is not of valid syntax
 
 - 
RemoteFilterImplpublic RemoteFilterImpl(BundleContext context, String createFilter) throws InvalidSyntaxException - Parameters:
- context- bundle context
- createFilter- filter
- Throws:
- InvalidSyntaxException- if given createFilter is not of valid filter syntax
- Since:
- 6.0
 
 - 
RemoteFilterImplpublic RemoteFilterImpl(Filter filter) 
 
- 
 - 
Method Detail- 
getRsIdpublic long getRsId() - Returns:
- long the remote service container relative id
- Since:
- 8.4
 
 - 
matchpublic boolean match(IRemoteServiceReference reference) Description copied from interface:IRemoteFilterFilter using a remote service's properties.The filter is executed using the keys and values of the referenced service's properties. The keys are case insensitively matched with the filter. - Specified by:
- matchin interface- IRemoteFilter
- Parameters:
- reference- The reference to the service whose properties are used in the match.
- Returns:
- trueif the service's properties match this filter;- falseotherwise.
 
 - 
matchpublic boolean match(Dictionary dictionary) 
 - 
matchCasepublic boolean matchCase(Dictionary dictionary) 
 - 
equalspublic boolean equals(Object obj) 
 - 
hashCodepublic int hashCode() 
 - 
toStringpublic String toString() 
 - 
matchpublic boolean match(ServiceReference reference) 
 
- 
 
-