Class ModScanner

java.lang.Object
  |
  +--ModScanner

public final class ModScanner
extends java.lang.Object

This class is used for scanning specific locations for modules. These locations are defined by the application which uses this scanner.


Constructor Summary
ModScanner()
           
 
Method Summary
 ModSpec[] getModSpecs()
          This method is used to retrieve all of the ModSpec objects currently loaded.
 void scan(java.io.File path)
          This method scans the specified path for modules.
 void scan(java.io.File[] paths)
          This method scans the specified paths for modules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModScanner

public ModScanner()
Method Detail

scan

public void scan(java.io.File[] paths)
          throws java.io.IOException
This method scans the specified paths for modules.

java.io.IOException

scan

public void scan(java.io.File path)
          throws java.io.IOException
This method scans the specified path for modules.

java.io.IOException

getModSpecs

public ModSpec[] getModSpecs()
This method is used to retrieve all of the ModSpec objects currently loaded.

Returns:
ModSpec[] returns the specs that are currently loaded.