public class DmozParser
extends java.lang.Object
Constructor and Description |
---|
DmozParser() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] argv)
Command-line access.
|
void |
parseDmozFile(java.io.File dmozFile,
int subsetDenom,
boolean includeAdult,
int skew,
java.util.regex.Pattern topicPattern,
boolean snippet)
Iterate through all the items in this structured DMOZ file.
|
public void parseDmozFile(java.io.File dmozFile, int subsetDenom, boolean includeAdult, int skew, java.util.regex.Pattern topicPattern, boolean snippet) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public static void main(java.lang.String[] argv) throws java.lang.Exception
java.lang.Exception
Copyright © 2019 The Apache Software Foundation