org.encog.util.obj
Class GenerateClasslist

java.lang.Object
  extended by org.encog.util.obj.GenerateClasslist

public class GenerateClasslist
extends Object

Utility to automatically generate the Encog class list file. The Encog classlist file is embedded in the JAR or DLL and provides a quick lookup from the short class name to the fully qualified class name. This file is needed because reflection can't scan a package for contained classes. So this utility scans source directories and the resulting file is embedded in Encog.


Constructor Summary
GenerateClasslist()
           
 
Method Summary
 void beginScan(File dir)
          Scan a directory.
static void main(String[] args)
          Run the utility.
 void scan(File dir)
          Scan the specified directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateClasslist

public GenerateClasslist()
Method Detail

main

public static void main(String[] args)
Run the utility.

Parameters:
args - The directory to scan, i.e. C:\\shared\\encog-workspace\\encog-core\\src.

beginScan

public void beginScan(File dir)
Scan a directory.

Parameters:
dir - The directory to scan.

scan

public void scan(File dir)
Scan the specified directory.

Parameters:
dir - The directory to scan.


Copyright © 2011. All Rights Reserved.