public class ClassList extends Object
| Constructor and Description |
|---|
ClassList(String jarPath)
Constructs a list of Java classes corresponding
to those in the given JAR file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildList(String jarPath)
Builds the list of Java classes contained in the given JAR file.
|
List<String> |
classes()
Gets the list of Java classes.
|
static String |
header(String className)
Gets the C++ header name corresponding to the given class name.
|
static boolean |
isNewPackage(String class1,
String class2)
Returns true iff the two classes are from different packages.
|
static String |
namespace(String className)
Gets the C++ namespace fragment corresponding to the given class name.
|
static String |
packageName(String className)
Gets the package name for the given fully qualified class name.
|
public ClassList(String jarPath) throws IOException
IOExceptionpublic void buildList(String jarPath) throws IOException
IOExceptionpublic static String packageName(String className)
public static boolean isNewPackage(String class1, String class2)
public static String header(String className)
Copyright © 2015–2022 SciJava. All rights reserved.