com.sun.hk2.component
Class InhabitantsScanner

java.lang.Object
  extended by com.sun.hk2.component.InhabitantsScanner
All Implemented Interfaces:
Closeable, Iterable<InhabitantParser>

Deprecated.

@Deprecated
public class InhabitantsScanner
extends Object
implements Iterable<InhabitantParser>, Closeable

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.

Author:
Kohsuke Kawaguchi

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

InhabitantsScanner

public InhabitantsScanner(InputStream in,
                          String systemId)
                   throws IOException
Deprecated. 
Throws:
IOException
Method Detail

getSystemId

public String getSystemId()
Deprecated. 

getLineNumber

public int getLineNumber()
Deprecated. 

iterator

public Iterator<InhabitantParser> iterator()
Deprecated. 
Specified by:
iterator in interface Iterable<InhabitantParser>

close

public void close()
           throws IOException
Deprecated. 
Specified by:
close in interface Closeable
Throws:
IOException


Copyright © 2013 Oracle Corporation. All Rights Reserved.