org.apache.hadoop.util
Class HostsFileReader

java.lang.Object
  extended by org.apache.hadoop.util.HostsFileReader

public class HostsFileReader
extends Object


Constructor Summary
HostsFileReader(String inFile, String exFile)
           
 
Method Summary
 Set<String> getExcludedHosts()
           
 Set<String> getHosts()
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostsFileReader

public HostsFileReader(String inFile,
                       String exFile)
                throws IOException
Throws:
IOException
Method Detail

refresh

public void refresh()
             throws IOException
Throws:
IOException

getHosts

public Set<String> getHosts()

getExcludedHosts

public Set<String> getExcludedHosts()


Copyright © 2008 The Apache Software Foundation