Package net.sf.nic.util

Examples of net.sf.nic.util.DirectoryIterator


   */
  public Iterator<Source> iterator() {
    return new Iterator<Source>() {

      // TODO: Apply filter.
      DirectoryIterator di = new DirectoryIterator(baseDirectory, (Filter<File>) null, true);

      public boolean hasNext() {
        return di.hasNext();
      }

      public Source next() {
        return toSource(baseDirectory, di.next());
      }

      public void remove() {
        di.remove();
      }
    };
  }
View Full Code Here

TOP

Related Classes of net.sf.nic.util.DirectoryIterator

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.