org.apache.manifoldcf.crawler.connectors.filesystem
Class FileConnector.IdentifierStream
java.lang.Object
org.apache.manifoldcf.crawler.connectors.filesystem.FileConnector.IdentifierStream
- All Implemented Interfaces:
- org.apache.manifoldcf.crawler.interfaces.IDocumentIdentifierStream
- Enclosing class:
- FileConnector
protected static class FileConnector.IdentifierStream
- extends java.lang.Object
- implements org.apache.manifoldcf.crawler.interfaces.IDocumentIdentifierStream
Document identifier stream.
| Fields inherited from interface org.apache.manifoldcf.crawler.interfaces.IDocumentIdentifierStream |
_rcsid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ids
protected java.lang.String[] ids
currentIndex
protected int currentIndex
FileConnector.IdentifierStream
public FileConnector.IdentifierStream(org.apache.manifoldcf.crawler.interfaces.DocumentSpecification spec)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
getNextIdentifier
public java.lang.String getNextIdentifier()
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
org.apache.manifoldcf.agents.interfaces.ServiceInterruption
- Get the next identifier.
- Specified by:
getNextIdentifier in interface org.apache.manifoldcf.crawler.interfaces.IDocumentIdentifierStream
- Returns:
- the next document identifier, or null if there are no more.
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.agents.interfaces.ServiceInterruption
close
public void close()
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
- Close the stream.
- Specified by:
close in interface org.apache.manifoldcf.crawler.interfaces.IDocumentIdentifierStream
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException