Package org.scilab.forge.jlatexmath
Class TeXClassLoaderResources
java.lang.Object
org.scilab.forge.jlatexmath.TeXClassLoaderResources
- All Implemented Interfaces:
TeXResourceProvider
A
TeXResourceProvider that finds the resources in the class path: the
files of src/main/resources/org/scilab/forge/jlatexmath in the jar. It is what
the JVM uses; it is a class of its own, and not the default of
TeXResources, so that the C build never reaches the code of the class
loaders (TeaVM compiles all it can reach, and its support of the resources
does not work there).-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TeXClassLoaderResources
public TeXClassLoaderResources()
-
-
Method Details
-
open
- Specified by:
openin interfaceTeXResourceProvider- Parameters:
name- the resource name, without leading slash, for instanceorg/scilab/forge/jlatexmath/fonts/base/jlm_cmr10.xml- Returns:
- the content, or
nullif the resource is unknown - Throws:
IOException- on error
-