com.puppycrawl.tools.checkstyle
Class PackageNamesLoader
public final class PackageNamesLoader
Loads a list of package names from a package name XML file.
endElement
public void endElement(String aNamespaceURI,
String aLocalName,
String aQName)
loadModuleFactory
public static ModuleFactory loadModuleFactory(ClassLoader aClassLoader)
throws CheckstyleException
Returns the default list of package names.
aClassLoader
- the class loader that gets the
default package names.
- the default list of package names.
loadModuleFactory
public static ModuleFactory loadModuleFactory(String aFilename)
throws CheckstyleException
Returns the package names in a specified file.
aFilename
- name of the package file.
- the list of package names stored in the
package file.
startElement
public void startElement(String aNamespaceURI,
String aLocalName,
String aQName,
Attributes aAtts)
throws SAXException