com.aelitis.azureus.core.subs.impl
Class SubscriptionResultFilterImpl
java.lang.Object
com.aelitis.azureus.core.subs.impl.SubscriptionResultFilterImpl
- All Implemented Interfaces:
- SubscriptionResultFilter
public class SubscriptionResultFilterImpl
- extends java.lang.Object
- implements SubscriptionResultFilter
Copyright (C) Azureus Software, Inc, All Rights Reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscriptionResultFilterImpl
public SubscriptionResultFilterImpl(SubscriptionImpl _subs,
java.util.Map filters)
getMinSze
public long getMinSze()
- Specified by:
getMinSze
in interface SubscriptionResultFilter
getMaxSize
public long getMaxSize()
- Specified by:
getMaxSize
in interface SubscriptionResultFilter
getWithWords
public java.lang.String[] getWithWords()
- Specified by:
getWithWords
in interface SubscriptionResultFilter
getWithoutWords
public java.lang.String[] getWithoutWords()
- Specified by:
getWithoutWords
in interface SubscriptionResultFilter
update
public void update(java.lang.String[] with_words,
java.lang.String[] without_words,
long min_size,
long max_size)
throws SubscriptionException
- Specified by:
update
in interface SubscriptionResultFilter
- Throws:
SubscriptionException
getString
public java.lang.String getString()
filter
public Result[] filter(Result[] results)