|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.fmj.ejmf.toolkit.install.PackageUtility
public class PackageUtility
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. From the book: Essential JMF, Gordon, Talley (ISBN 0130801046). Used with permission.
Constructor Summary | |
---|---|
PackageUtility()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageUtility()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |