JLink`
JLink`

LoadJavaClass

LoadJavaClass[classname]

loads the specified class into Java and sets up definitions so that it can be used from the Wolfram Language.

更多信息和选项

  • To use LoadJavaClass, you first need to load J/Link using Needs["JLink`"].
  • You must specify the fully qualified class name, for example "java.awt.Frame".
  • It is safe to call LoadJavaClass multiple times on the same class; it simply returns right away without doing anything.
  • The following options can be given:
  • StaticsVisibleFalsewhether static methods/fields are accessible by name or in a special context
    AllowShortContextTruewhether static methods/fields can be accessed by name or by full context
    UseTypeCheckingTruewhether to suppress the type checking normally inserted in definitions for calls to Java
Wolfram Research (2007),LoadJavaClass,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html.

文本

Wolfram Research (2007),LoadJavaClass,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html.

CMS

Wolfram 语言. 2007. "LoadJavaClass." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html.

APA

Wolfram 语言. (2007). LoadJavaClass. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html 年

BibTeX

@misc{reference.wolfram_2024_loadjavaclass, author="Wolfram Research", title="{LoadJavaClass}", year="2007", howpublished="\url{https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html}", note=[Accessed: 23-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_loadjavaclass, organization={Wolfram Research}, title={LoadJavaClass}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/LoadJavaClass.html}, note=[Accessed: 23-November-2024 ]}