Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.common.utils
Class FileTreeIterator

java.lang.Object
  extended by org.nuxeo.common.utils.FileTreeIterator
All Implemented Interfaces:
Iterator<File>

public class FileTreeIterator
extends Object
implements Iterator<File>

Author:
Bogdan Stefanescu

Constructor Summary
FileTreeIterator(File root)
           
FileTreeIterator(File root, boolean excludeRoot)
           
 
Method Summary
 FileFilter getFilter()
           
 boolean hasNext()
           
static void main(String[] args)
           
 File next()
           
 void remove()
           
 void setFilter(FileFilter filter)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTreeIterator

public FileTreeIterator(File root)

FileTreeIterator

public FileTreeIterator(File root,
                        boolean excludeRoot)
Method Detail

setFilter

public void setFilter(FileFilter filter)

getFilter

public FileFilter getFilter()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<File>

next

public File next()
Specified by:
next in interface Iterator<File>

remove

public void remove()
Specified by:
remove in interface Iterator<File>

main

public static void main(String[] args)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.