net.jradius.freeradius
Class RadiusDictionary
java.lang.Object
net.jradius.freeradius.RadiusDictionary
public class RadiusDictionary
- extends Object
JRadius Dictionary builder for FreeRADIUS
See the comments for the main method for how to build a dictionary
library.
- Author:
- David Bird
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadiusDictionary
public RadiusDictionary(Reader in,
String pkgName,
String dictDir,
String srcDir)
throws IOException
- Throws:
IOException
RadiusDictionary
public RadiusDictionary(String fileName,
String pkgName,
String dictDir,
String srcDir)
throws IOException
- Throws:
IOException
readFile
public void readFile(BufferedReader in)
throws IOException
- Throws:
IOException
writeAttrMap
public void writeAttrMap(Map map,
String pkg,
String vName,
String cName,
String pName,
boolean withVendors)
parseInt
public int parseInt(String s)
writeJavaClasses
public void writeJavaClasses()
main
public static void main(String[] args)
- Main method of the dictionary builder. Requires 3 command line
arguments: package name, dictionary directory, and java source
directory. For example (on one line):
java net.jradius.freeradius.RadiusDictionary net.jradius.dictionary /path-to-freeradius-dictionary /path-to-java-source-directory
- Parameters:
args
-
Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.