|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectjavax.media.PackageManager
public class PackageManager
A PackageManager maintains a persistent store of
package-prefix lists. A package prefix specifies the
prefix for a complete class name. A factory uses
a package-prefix list to find a class that
might belong to any of the packages that are referenced
in the prefix list.
The Manager uses package-prefix lists
to find protocol handlers and content handlers for time-based
media.
The current version of a package-prefix list is obtained with
the get<package-prefix>List method. This method returns the prefix
list in use; any changes to the list take effect immediately.
Unless it is made persistent with
commit<package-prefix>List, a package-prefix list is only valid
while the Manager is referenced.
The commit<package-prefix>List method ensures that any changes made
to a package-prefix list are still visible the next time that
the Manager is referenced.
Manager| 构造方法摘要 | |
|---|---|
PackageManager()
|
|
| 方法摘要 | |
|---|---|
static void |
commitContentPrefixList()
Make changes to the content prefix-list persistent. |
static void |
commitProtocolPrefixList()
Make changes to the protocol package-prefix list persistent. |
static java.util.Vector |
getContentPrefixList()
Get the current value of the content package-prefix list. |
static java.util.Vector |
getProtocolPrefixList()
Get the current value of the protocol package-prefix list. |
static void |
setContentPrefixList(java.util.Vector list)
Set the current value of the content package-prefix list. |
static void |
setProtocolPrefixList(java.util.Vector list)
Set the protocol package-prefix list. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public PackageManager()
| 方法详细信息 |
|---|
public static java.util.Vector getProtocolPrefixList()
public static void setProtocolPrefixList(java.util.Vector list)
list - The new package-prefix list to use.public static void commitProtocolPrefixList()
This method throws a SecurityException if the calling thread
does not have access to system properties.
public static java.util.Vector getContentPrefixList()
public static void setContentPrefixList(java.util.Vector list)
list - The content package-prefix list to set.public static void commitContentPrefixList()
This method throws a SecurityException if the calling thread
does not have access to system properties.
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||