Main Content

com.mathworks.toolbox.javabuilder.MWCtfClassLoaderSource Class

Namespace: com.mathworks.toolbox.javabuilder

Java class to manage code archive (.ctf file) sources from class loader in MATLAB



public class MWCtfClassLoaderSource extends MWCtfSource

CTF from class loader source

Implemented Interfaces: MWComponentOption



MWCtfClassLoaderSource(java.lang.Class componentClass)

Used to create an instance of the MWCtfClassLoaderSource class. It takes a single parameter, componentClass, which is a Class object representing the class whose class loader will be utilized to load resources, specifically files with a .ctf extension. When an instance of MWCtfClassLoaderSource is created using this constructor, the provided Class object is stored in the private field componentClass of the newly created instance. This stored Class object will later be used by the instance methods to locate and load .ctf files from the classpath.


Public Properties

No public properties.


expand all

Version History

Introduced in R2006a