Skip to main content

ModelCenter APIs 2025 R2

classExists

Last update: 16.07.2025

public classExists(jarFile: String, className: String): Boolean

Utility method to determine if a class exists in a JAR file.

Return

true if the class exists, false if not

Parameters

jarFile the path to the JAR file
className the fully-qualified name of the class to load

Throws

IOException if the path is invalid

Connect with Ansys