Package net.janino.util.resource

Source Code of net.janino.util.resource.LazyMultiResourceFinder

/*
* Janino - An embedded Java[TM] compiler
* Copyright (C) 2001-2004 Arno Unkrig
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Contact information:
*   Arno Unkrig
*   Ferdinand-Miller-Platz 10
*   80335 Muenchen
*   Germany
*   http://www.janino.net
*   maintainer@janino.net
*/

package net.janino.util.resource;

import java.util.*;

import net.janino.util.iterator.IteratorCollection;

/**
* A {@link net.janino.util.resource.ResourceFinder} that examines a set
* of {@link net.janino.util.resource.ResourceFinder}s lazily as it
* searches for resources.
*/
public class LazyMultiResourceFinder extends MultiResourceFinder {

    /**
     * @param resourceFinders delegate {@link ResourceFinder}s
     */
    public LazyMultiResourceFinder(Iterator resourceFinders) {
    super(new IteratorCollection(resourceFinders));
  }
}
TOP

Related Classes of net.janino.util.resource.LazyMultiResourceFinder

TOP
Copyright © 2018 www.massapi.com. 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.