Package mireka.filter

Examples of mireka.filter.Filter


    }

    public void init() {
        FilterChain nextLink = new ChainEnd(mailTransaction);
        for (int i = filters.size() - 1; i >= 0; i--) {
            Filter filter = filters.get(i);
            filter.setChain(nextLink);
            nextLink = new Link(filter, mailTransaction);
        }
        head = nextLink;
    }
View Full Code Here


    }

    public FilterInstances createInstanceChain(MailTransaction mailTransaction) {
        FilterInstances instanceChain = new FilterInstances(mailTransaction);
        for (FilterType filterType : filters) {
            Filter filter = filterType.createInstance(mailTransaction);
            instanceChain.add(filter);
        }
        instanceChain.init();
        return instanceChain;
    }
View Full Code Here

TOP

Related Classes of mireka.filter.Filter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.