Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

oracle.adf.share.services.impl
Class ServicesEnumeration

java.lang.Object
  extended by oracle.adf.share.services.impl.ServicesEnumeration
All Implemented Interfaces:
java.util.Enumeration<java.lang.String>

public class ServicesEnumeration
extends java.lang.Object
implements java.util.Enumeration<java.lang.String>

Decode services files into usable class name tokens by eliminating all comments and whitespace.

See Also:
http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Service%20Provider

Constructor Summary
ServicesEnumeration(java.io.Reader inRdr)
           
 
Method Summary
 void close()
          Convenience method to close the passed in reader without having to catch any resulting IOExceptions (they will be logged however).
 boolean hasMoreElements()
           
 java.lang.String nextElement()
          This method may throw a RuntimeException with the original IOException as the cause.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServicesEnumeration

public ServicesEnumeration(java.io.Reader inRdr)
Method Detail

nextElement

public java.lang.String nextElement()
This method may throw a RuntimeException with the original IOException as the cause.

Specified by:
nextElement in interface java.util.Enumeration<java.lang.String>
Returns:
the next element

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration<java.lang.String>

close

public void close()
Convenience method to close the passed in reader without having to catch any resulting IOExceptions (they will be logged however).


Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

Copyright © 1997, 2011, Oracle. All rights reserved.