このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


null
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.16

API

SDK

Tips ‘n’ Tricks

Miscellaneous

UnoClassLoader (Java UNO Runtime 言及/関連)
UDK 3.2.7 Java API 言及/関連

com.sun.星/主役にする.lib.unoloader
Class UnoClassLoader

java.lang.反対する
  extended by java.lang.ClassLoader
      extended by java.安全.SecureClassLoader
          extended by java.逮捕する.URLClassLoader
              extended by com.sun.星/主役にする.lib.unoloader.UnoClassLoader

public final class UnoClassLoader
延長するs URLClassLoader

The root UNO class loader.

This class loader is able to 負担 all published URE classes, 含むing the classes 代表するing the published URE UNO types. For consistency, it is important that within each Java UNO 環境 there is one instance of this class loader that is the defining class loader of all published URE classes (and hence of all unpublished URE classes, too) and of all classes 代表するing UNO types (the published URE UNO types, any unpublished URE UNO types, and any 付加 UNO types introduced by 構成要素s; for the latter, URLClassLoader.addURL(java.逮捕する.URL) may be necessary).

This is an 内部の, 安定性のない class of the Uno Runtime 環境; it should not be used by (弁護士の)依頼人 code.

Since:
UDK 3.2.0

建設者 要約
UnoClassLoader(URL base, URL[] classPath, ClassLoader parent)
          Instantiates the root UNO class loader.
 
Method 要約
 無効の 遂行する/発効させる(URL jar, String[] arguments)
          遂行する/発効させるs a UNO JAR.
 ClassLoader getClassLoader(URL jar, せいにするs mainAttributes)
          得るs a class loader for a UNO JAR.
static せいにするs getJarMainAttributes(URL jar)
          得るs the main section of the manifest of a JAR.
 
Methods 相続するd from class java.逮捕する.URLClassLoader
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInsta nce
 
Methods 相続するd from class java.安全.SecureClassLoader
defineClass, defineClass
 
Methods 相続するd from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods 相続するd from class java.lang.反対する
clone, equals, 完結する, getClass, hashCode, 通知する, notifyAll, toString, wait, wait, wait
 

建設者 詳細(に述べる)

UnoClassLoader

public UnoClassLoader(URL base,
                      URL[] classPath,
                      ClassLoader parent)
               throws MalformedURLException
Instantiates the root UNO class loader.

Parameters:
base - a base URL 親族 to which the URE JARs (java_uno.jar, juh.jar, jurt.jar, ridl.jar) can be 設立する; must not be null.
classPath - an array of URLs that form the class path of this class loader; may be null, which is the same as an empty array. The URLs are 解釈する/通訳するd in the same way as the arguments of a URLClassLoader.
parent - the parent class loader for 代表.
Throws:
MalformedURLException - if the given base URL is malformed.
Method 詳細(に述べる)

getClassLoader

public ClassLoader getClassLoader(URL jar,
                                  せいにするs mainAttributes)
                           throws MalformedURLException
得るs a class loader for a UNO JAR.

Parameters:
jar - the URL of a UNO JAR; must not be null.
mainAttributes - 代表するs the main section of the manifest of the given JAR jar; null if the given JAR does not have a manifest. (This redundant parameter is there for 業績/成果 推論する/理由s, as typically the 報知係 of this method already has this (警察などへの)密告,告訴(状) 利用できる.)
Returns:
an appropriate class loader; will never be null.
Throws:
MalformedURLException - if the given jar URL or any of the UNO-Type-Path URLs 明示するd in the given JAR are malformed.

遂行する/発効させる

public 無効の 遂行する/発効させる(URL jar,
                    String[] arguments)
             throws IOException,
                    ClassNotFoundException,
                    NoSuchMethodException,
                    InvocationTargetException
遂行する/発効させるs a UNO JAR.

Parameters:
jar - the URL of a UNO JAR that 明示するs a Main-Class; must not be null.
arguments - any arguments passed to the main method of the 明示するd Main-Class of the given JAR jar; must not be null.
Throws:
IOException - if there are any problems 過程ing the given JAR jar.
ClassNotFoundException - if the given JAR jar does not 明示する a Main-Class, or if the 明示するd Main-Class cannot be 設立する.
NoSuchMethodException - if the 明示するd Main-Class of the given JAR jar does not have an appropriate main method.
InvocationTargetException - if an exception occurs while 遂行する/発効させるing the main method of the 明示するd Main-Class of the given JAR jar.

getJarMainAttributes

public static せいにするs getJarMainAttributes(URL jar)
                                       throws IOException
得るs the main section of the manifest of a JAR.

Parameters:
jar - the URL of a JAR; must not be null.
Returns:
the 代表 of the main section of the manifest of the given JAR jar, or null if the given JAR does not have a manifest.
Throws:
IOException - if there are any problems 過程ing the given JAR jar.

UDK 3.2.7 Java API 言及/関連

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.