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.
-
PackageUtility()
-
-
addContentPrefix(String)
- Adds a content prefix to the JMF content prefix list.
-
addContentPrefix(String, boolean)
- Adds a content prefix to the JMF content prefix list.
-
addProtocolPrefix(String)
- Adds a protocol prefix to the JMF protocol prefix list.
-
addProtocolPrefix(String, boolean)
- Adds a protocol prefix to the JMF protocol prefix list.
-
removeContentPrefix(String)
- Removes a content prefix from the JMF content prefix list.
-
removeContentPrefix(String, boolean)
- Removes a content prefix from the JMF content prefix list.
-
removeProtocolPrefix(String)
- Removes a protocol prefix from the JMF protocol prefix list.
-
removeProtocolPrefix(String, boolean)
- Removes a protocol prefix from the JMF protocol prefix list.
PackageUtility
public PackageUtility()
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
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
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
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
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
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
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
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