- All Implemented Interfaces:
- Iterable<String>
public final class PIDStreamIterableWrapper
extends Object
implements Iterable<String>
Iterable implementation over a stream containing PIDs.
Allows a stream containing a list of pids to be iterated in a for (String pid : wrapper) statement.
Stream must contain either:
Raw list of PIDs, separated by newlines (blank lines are skipped)
XML containing <pid> elements. Structure of XML is not interpreted,
only single lines containing this element are read. Only one PID per line.
Empty pid elements (<pid/>) will be skipped.
This is compatible with basic search output
- Version:
- $Id$
- Author:
- Stephen Bayliss