LibreOffice Module jvmaccess (master) 1
|
Helper functions for class path handling. More...
Functions | |
JVMACCESS_DLLPUBLIC jobjectArray | translateToUrls (css::uno::Reference< css::uno::XComponentContext > const &context, JNIEnv *environment, std::u16string_view classPath) |
translates a class path into a java.net.URL[] instance. More... | |
Helper functions for class path handling.
jobjectArray jvmaccess::ClassPath::translateToUrls | ( | css::uno::Reference< css::uno::XComponentContext > const & | context, |
JNIEnv * | environment, | ||
std::u16string_view | classPath | ||
) |
translates a class path into a java.net.URL[] instance.
context | a component context; must not be null. |
environment | a JNI environment; must not be null. |
classPath | a list of zero or more internal (see the com.sun.star.uri.ExternalUriReferenceTranslator service) URI references, where any space characters (U+0020) are ignored (and, in particular, separate adjacent URI references). Any vnd.sun.star.expand URL references in the list are expanded using the com.sun.star.util.theMacroExpander singleton of the given context. |
com::sun::star::uno::RuntimeException |
Definition at line 43 of file classpath.cxx.
References cppu::getCaughtException(), o3tl::getToken(), i, idx, parse(), and result.