public class RadiusDictionary extends Object
See the comments for the main method for how to build a dictionary library.
| Constructor and Description |
|---|
RadiusDictionary(Reader in,
String pkgName,
String dictDir,
String srcDir) |
RadiusDictionary(String fileName,
String pkgName,
String dictDir,
String srcDir) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main method of the dictionary builder.
|
int |
parseInt(String s) |
void |
readFile(BufferedReader in) |
void |
writeAttrMap(Map map,
String pkg,
String vName,
String cName,
String pName,
boolean withVendors) |
void |
writeJavaClasses() |
public RadiusDictionary(Reader in, String pkgName, String dictDir, String srcDir) throws IOException
IOExceptionpublic RadiusDictionary(String fileName, String pkgName, String dictDir, String srcDir) throws IOException
IOExceptionpublic void readFile(BufferedReader in) throws IOException
IOExceptionpublic void writeAttrMap(Map map, String pkg, String vName, String cName, String pName, boolean withVendors)
public int parseInt(String s)
public void writeJavaClasses()
public static void main(String[] args)
java net.jradius.freeradius.RadiusDictionary net.jradius.dictionary /path-to-freeradius-dictionary /path-to-java-source-directory
args - Copyright © 2017. All rights reserved.