|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.hk2.component.InhabitantsScanner
@Deprecated public class InhabitantsScanner
Scans the stream that follows the /META-INF/inhabitants/* format.
This class implements Iterable
so that it can be used in for-each loop,
but it cannot parse the same stream twice.
Constructor Summary | |
---|---|
InhabitantsScanner(InputStream in,
String systemId)
Deprecated. |
Method Summary | |
---|---|
void |
close()
Deprecated. |
int |
getLineNumber()
Deprecated. |
String |
getSystemId()
Deprecated. |
Iterator<InhabitantParser> |
iterator()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InhabitantsScanner(InputStream in, String systemId) throws IOException
IOException
Method Detail |
---|
public String getSystemId()
public int getLineNumber()
public Iterator<InhabitantParser> iterator()
iterator
in interface Iterable<InhabitantParser>
public void close() throws IOException
close
in interface Closeable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |