All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ejmf.toolkit.install.PackageUtility

java.lang.Object
   |
   +----ejmf.toolkit.install.PackageUtility

public class PackageUtility
extends Object
The PackageUtility class provides methods to register or remove package prefixes from the Java Media Framework's persistant lists of protocol and content prefix lists.


Constructor Index

 o PackageUtility()

Method Index

 o addContentPrefix(String)
Adds a content prefix to the JMF content prefix list.
 o addContentPrefix(String, boolean)
Adds a content prefix to the JMF content prefix list.
 o addProtocolPrefix(String)
Adds a protocol prefix to the JMF protocol prefix list.
 o addProtocolPrefix(String, boolean)
Adds a protocol prefix to the JMF protocol prefix list.
 o removeContentPrefix(String)
Removes a content prefix from the JMF content prefix list.
 o removeContentPrefix(String, boolean)
Removes a content prefix from the JMF content prefix list.
 o removeProtocolPrefix(String)
Removes a protocol prefix from the JMF protocol prefix list.
 o removeProtocolPrefix(String, boolean)
Removes a protocol prefix from the JMF protocol prefix list.

Constructors

 o PackageUtility
 public PackageUtility()

Methods

 o addContentPrefix
 public static void addContentPrefix(String prefix)
Adds a content prefix to the JMF content prefix list. If the content prefix already exists in the list, no action is taken. The new content prefix list will only be valid during the current session.

Parameters:
prefix - the content prefix to add
 o addContentPrefix
 public static void addContentPrefix(String prefix,
                                     boolean commit)
Adds a content prefix to the JMF content prefix list. If the content prefix already exists in the list, no action is taken. If commit is true, the list will be commited and become persistent over future JMF sessions. Otherwise, the new content prefix list will only be valid during the current session.

Parameters:
prefix - the content prefix to add
commit - boolean indicating whether to make new content list persistent
 o addProtocolPrefix
 public static void addProtocolPrefix(String prefix)
Adds a protocol prefix to the JMF protocol prefix list. If the protocol prefix already exists in the list, no action is taken. The new protocol prefix list will only be valid during the current session.

Parameters:
prefix - the protocol prefix to add
 o addProtocolPrefix
 public static void addProtocolPrefix(String prefix,
                                      boolean commit)
Adds a protocol prefix to the JMF protocol prefix list. If the protocol prefix already exists in the list, no action is taken. If commit is true, the list will be commited and become persistent over future JMF sessions. Otherwise, the new protocol prefix list will only be valid during the current session.

Parameters:
prefix - the protocol prefix to add
commit - boolean indicating whether to make new protocol list persistent
 o removeProtocolPrefix
 public static void removeProtocolPrefix(String prefix)
Removes a protocol prefix from the JMF protocol prefix list. If the protocol prefix does not exist in the list, no action is taken. The new protocol prefix list will only be valid during the current session.

Parameters:
prefix - the protocol prefix to remove
 o removeProtocolPrefix
 public static void removeProtocolPrefix(String prefix,
                                         boolean commit)
Removes a protocol prefix from the JMF protocol prefix list. If the protocol prefix does not exist in the list, no action is taken. If commit is true, the list will be commited and become persistent over future JMF sessions. Otherwise, the new protocol prefix list will only be valid during the current session.

Parameters:
prefix - the protocol prefix to remove
commit - boolean indicating whether to make new protocol list persistent
 o removeContentPrefix
 public static void removeContentPrefix(String prefix)
Removes a content prefix from the JMF content prefix list. If the content prefix does not exist in the list, no action is taken. The new content prefix list will only be valid during the current session.

Parameters:
prefix - the content prefix to remove
 o removeContentPrefix
 public static void removeContentPrefix(String prefix,
                                        boolean commit)
Removes a content prefix from the JMF content prefix list. If the content prefix does not exist in the list, no action is taken. If commit is true, the list will be commited and become persistent over future JMF sessions. Otherwise, the new content prefix list will only be valid during the current session.

Parameters:
prefix - the content prefix to remove
commit - boolean indicating whether to make new content list persistent

All Packages  Class Hierarchy  This Package  Previous  Next  Index