public class PackageUtility
extends java.lang.Object
Constructor and Description |
---|
PackageUtility() |
Modifier and Type | Method and Description |
---|---|
static void |
addContentPrefix(java.lang.String prefix)
Adds a content prefix to the JMF content prefix list.
|
static void |
addContentPrefix(java.lang.String prefix,
boolean commit)
Adds a content prefix to the JMF content prefix list.
|
static void |
addProtocolPrefix(java.lang.String prefix)
Adds a protocol prefix to the JMF protocol prefix list.
|
static void |
addProtocolPrefix(java.lang.String prefix,
boolean commit)
Adds a protocol prefix to the JMF protocol prefix list.
|
static void |
removeContentPrefix(java.lang.String prefix)
Removes a content prefix from the JMF content prefix list.
|
static void |
removeContentPrefix(java.lang.String prefix,
boolean commit)
Removes a content prefix from the JMF content prefix list.
|
static void |
removeProtocolPrefix(java.lang.String prefix)
Removes a protocol prefix from the JMF protocol prefix list.
|
static void |
removeProtocolPrefix(java.lang.String prefix,
boolean commit)
Removes a protocol prefix from the JMF protocol prefix list.
|
public static void addContentPrefix(java.lang.String prefix)
prefix
- the content prefix to addpublic static void addContentPrefix(java.lang.String prefix, boolean commit)
prefix
- the content prefix to addcommit
- boolean indicating whether to make new
content list persistentpublic static void addProtocolPrefix(java.lang.String prefix)
prefix
- the protocol prefix to addpublic static void addProtocolPrefix(java.lang.String prefix, boolean commit)
prefix
- the protocol prefix to addcommit
- boolean indicating whether to make new
protocol list persistentpublic static void removeProtocolPrefix(java.lang.String prefix)
prefix
- the protocol prefix to removepublic static void removeProtocolPrefix(java.lang.String prefix, boolean commit)
prefix
- the protocol prefix to removecommit
- boolean indicating whether to make new
protocol list persistentpublic static void removeContentPrefix(java.lang.String prefix)
prefix
- the content prefix to removepublic static void removeContentPrefix(java.lang.String prefix, boolean commit)
prefix
- the content prefix to removecommit
- boolean indicating whether to make new
content list persistent