org.ckkloverdos.source
Class SourceUtil

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

public final class SourceUtil
extends java.lang.Object

Utility methods for sources.

Author:
Christos KK Loverdos

Method Summary
static SourceType getFileSourceType(java.io.File file, SourceTypeRegistry r)
           
static SourceType getFileSourceType(java.lang.String filename, SourceTypeRegistry r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFileSourceType

public static SourceType getFileSourceType(java.io.File file,
                                           SourceTypeRegistry r)
                                    throws java.io.IOException
Throws:
java.io.IOException

getFileSourceType

public static SourceType getFileSourceType(java.lang.String filename,
                                           SourceTypeRegistry r)
                                    throws java.io.IOException
Throws:
java.io.IOException


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