org.ckkloverdos.source
Class SourceTypes

java.lang.Object
  extended by org.ckkloverdos.source.SourceTypes

public final class SourceTypes
extends java.lang.Object

Sample static SourceTypeRegistry singleton.

Author:
Christos KK Loverdos
See Also:
SourceTypeRegistry

Field Summary
static SourceType CLASS
           
static SourceType JAR
           
static SourceType TXT
           
static SourceType XML
           
 
Method Summary
static SourceTypeRegistry getRegistry()
           
static SourceType register(java.lang.String name, java.lang.String ext)
           
static SourceType register(java.lang.String name, java.lang.String[] ext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAR

public static final SourceType JAR

CLASS

public static final SourceType CLASS

TXT

public static final SourceType TXT

XML

public static final SourceType XML
Method Detail

getRegistry

public static SourceTypeRegistry getRegistry()

register

public static SourceType register(java.lang.String name,
                                  java.lang.String ext)

register

public static SourceType register(java.lang.String name,
                                  java.lang.String[] ext)


Copyright © 1999-2007 Christos KK Loverdos. All Rights Reserved.