net.sf.fmj.media
Class RegistryDefaults

java.lang.Object
  extended by net.sf.fmj.media.RegistryDefaults

public class RegistryDefaults
extends java.lang.Object

Defaults for the FMJ registry. Broken out into fmj, jmf, and third-party. fmj ones are fmj-specific. jmf ones are to duplicate what is in jmf (useful if jmf is in the classpath). third-party ones are those that are not included with fmj but might be in the classpath (like fobs4jmf). The flags give us the flexibility to make the registry the same as JMF's or JMF's + FMJ's, or just FMJ's. Making it the same as JMF's is useful for unit testing.

Author:
Ken Larson

Field Summary
static int ALL
          All registry entries.
static int FMJ
          FMJ registry entries.
static int FMJ_NATIVE
          FMJ (native library required) registry entries.
static int JMF
          JMF registry entries.
static int NONE
          No registry entries.
static int THIRD_PARTY
          Third-party (not JMF or FMJ) registry entries.
 
Constructor Summary
RegistryDefaults()
           
 
Method Summary
static java.util.List<java.lang.String> contentPrefixList(int flags)
           
static int getDefaultFlags()
           
static java.util.List<java.lang.Object> plugInList(int flags)
          List items are either classnames (String) or PlugInInfo.
static java.util.List<java.lang.String> protocolPrefixList(int flags)
           
static void registerAll(int flags)
           
static void registerContentPrefixList(int flags)
           
static void registerPlugins(int flags)
           
static void registerProtocolPrefixList(int flags)
           
static void setDefaultFlags(int flags)
           
static void unRegisterAll(int flags)
           
static void unRegisterContentPrefixList(int flags)
           
static void unRegisterPlugins(int flags)
           
static void unRegisterProtocolPrefixList(int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JMF

public static final int JMF
JMF registry entries.

See Also:
Constant Field Values

FMJ

public static final int FMJ
FMJ registry entries.

See Also:
Constant Field Values

FMJ_NATIVE

public static final int FMJ_NATIVE
FMJ (native library required) registry entries.

See Also:
Constant Field Values

THIRD_PARTY

public static final int THIRD_PARTY
Third-party (not JMF or FMJ) registry entries.

See Also:
Constant Field Values

NONE

public static final int NONE
No registry entries.

See Also:
Constant Field Values

ALL

public static final int ALL
All registry entries.

See Also:
Constant Field Values
Constructor Detail

RegistryDefaults

public RegistryDefaults()
Method Detail

getDefaultFlags

public static final int getDefaultFlags()

setDefaultFlags

public static final void setDefaultFlags(int flags)

registerAll

public static void registerAll(int flags)

unRegisterAll

public static void unRegisterAll(int flags)

registerProtocolPrefixList

public static void registerProtocolPrefixList(int flags)

registerContentPrefixList

public static void registerContentPrefixList(int flags)

unRegisterProtocolPrefixList

public static void unRegisterProtocolPrefixList(int flags)

unRegisterContentPrefixList

public static void unRegisterContentPrefixList(int flags)

protocolPrefixList

public static java.util.List<java.lang.String> protocolPrefixList(int flags)

contentPrefixList

public static java.util.List<java.lang.String> contentPrefixList(int flags)

registerPlugins

public static void registerPlugins(int flags)

plugInList

public static java.util.List<java.lang.Object> plugInList(int flags)
List items are either classnames (String) or PlugInInfo.


unRegisterPlugins

public static void unRegisterPlugins(int flags)