List of usage examples for java.util Enumeration interface-usage
From source file SingleItemEnumeration.java
/** * An implementation of the Enumeration interface which enumerates a single * item. Note: This class is not thread safe. */ public class SingleItemEnumeration implements Enumeration {
From source file FilteringEnumeration.java
/**
* An implementation of the <code>Enumeration</code> interface which delegates
* to another <code>Enumeration</code>, but only returns elements which pass
* the {@link #accept(Object)} method.
*/
From source file ArrayEnumeration.java
/** * An implementation of the Enumeration interface which enumerates the items of * an array. Note: This class is not thread safe. */ public class ArrayEnumeration implements Enumeration {
From source file SerializableEnumeration.java
/**
* ???
*
* @author ???
* @version $Revision: 2800 $
*/
From source file com.amalto.core.load.io.XMLStreamUnwrapper.java
/**
* A implementation of {@link Enumeration} that allows one to separately return XML fragments at a given level.
* For example, the stream: <br/>
* <p>
* <code>
* <wrapper><root></root><root></root></wrapper>
From source file ArrayEnumeration.java
/**
* An enumeration that iterates over an array.
*
* @author Thomas Morgner
*/
From source file ListOfFiles.java
public class ListOfFiles implements Enumeration<FileInputStream> { private String[] listOfFiles; private int current = 0; public ListOfFiles(String[] listOfFiles) {
From source file CSVTokenizer.java
/**
* The csv tokenizer class allows an application to break a Comma Separated Value format into tokens. The tokenization
* method is much simpler than the one used by the <code>StringTokenizer</code> class. The <code>CSVTokenizer</code>
* methods do not distinguish among identifiers, numbers, and quoted strings, nor do they recognize and skip comments.
* <p/>
* The set of separator (the characters that separate tokens) may be specified either at creation time or on a per-token
From source file org.jgrapht.util.PrefetchIterator.java
/**
* Utility class to help implement an iterator/enumerator in which the hasNext()
* method needs to calculate the next elements ahead of time.
*
* <p>Many classes which implement an iterator face a common problem: if there
* is no easy way to calculate hasNext() other than to call getNext(), then they
From source file com.adaptris.util.text.mime.MultiPartInput.java
/**
* Reading a mime multipart input stream.
* <p>
* This offers, by default, a simplified model for processing all the body parts iteratively, however access to the underlying
* MimeBodyPart is available depending on the constructor that is used.
* </p>