Package adams.core
Class ClassListerJson
- java.lang.Object
-
- nz.ac.waikato.cms.locator.ClassLister
-
- adams.core.ClassLister
-
- adams.core.ClassListerJson
-
- All Implemented Interfaces:
Serializable
public class ClassListerJson extends ClassLister
Same asClassLister
, but with support for outputting JSON when calling the main method.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLASSLISTERJSON_CLASSES
for statically listed classes (superclass -> comma-separated classnames).static String
CLASSLISTERJSON_PACKAGES
for statically listed packages (superclass -> comma-separated packages).-
Fields inherited from class adams.core.ClassLister
BLACKLIST, CLASSLISTER_CLASSES, CLASSLISTER_PACKAGES, CLASSPATH_BLACKLIST, FILENAME, m_Singleton, m_Static
-
-
Constructor Summary
Constructors Constructor Description ClassListerJson()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static String
getFormat(String[] args)
Extracts the format from the command-line options.static void
main(String[] args)
Outputs a list of available conversions.-
Methods inherited from class adams.core.ClassLister
filterByModule, getAllClassnames, getAllClassnames, getClasses, getClasses, getSingleton, isStatic, matches, matches
-
Methods inherited from class nz.ac.waikato.cms.locator.ClassLister
addHierarchy, addHierarchy, extractPackage, getClasses, getClasses, getClassLocator, getClassnames, getClassTraversal, getLogger, getManagedClasses, getManagedClassnames, getPackages, getPackages, getPackages, getSingleton, getSuperclasses, getSuperclasses, getSuperclasses, initialize, isLoggingEnabled, isManaged, isManaged, isOnlyDefaultConstructor, isOnlySerializable, load, load, setBlacklist, setOnlyDefaultConstructor, setOnlySerializable, setPackages, toPackages, toProperties, toString, updateCaches, updateCaches, updateClasses, updateClasses, updateClassnames, updateClassnames
-
-
-
-
Field Detail
-
CLASSLISTERJSON_CLASSES
public static final String CLASSLISTERJSON_CLASSES
for statically listed classes (superclass -> comma-separated classnames).- See Also:
- Constant Field Values
-
CLASSLISTERJSON_PACKAGES
public static final String CLASSLISTERJSON_PACKAGES
for statically listed packages (superclass -> comma-separated packages).- See Also:
- Constant Field Values
-
-