org.openidex.util/3 3.34

org.openidex.search
Class Utils

java.lang.Object
  extended by org.openidex.search.Utils

public final class Utils
extends Object

Search API utility class.

Since:
org.openidex.util/3 3.20

Method Summary
static Iterator<FileObject> getFileObjectsIterator(SearchInfo si)
          Returns Iterator of FileObject's for the provided SearchInfo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFileObjectsIterator

public static Iterator<FileObject> getFileObjectsIterator(SearchInfo si)
Returns Iterator of FileObject's for the provided SearchInfo. If provided SearchInfo object is implementation of SearchInfo.Files interface then the result of method SearchInfo.Files.filesToSearch is returned. Otherwise the objects are getting from the SearchInfo.objectsToSearch method.

Parameters:
si - SearchInfo object to return the iterator for
Returns:
iterator which iterates over FileObjects
Since:
org.openidex.util/3 3.20

org.openidex.util/3 3.34

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.