org.jagatoo.loaders.models._util
Class LoaderUtils

java.lang.Object
  extended by org.jagatoo.loaders.models._util.LoaderUtils

public class LoaderUtils
extends java.lang.Object

Insert type comment here.


Constructor Summary
LoaderUtils()
           
 
Method Summary
static java.net.URL extractBaseURL(java.io.File file)
           
static java.net.URL extractBaseURL(java.lang.String filename)
           
static java.net.URL extractBaseURL(java.net.URL url)
           
static java.lang.String extractFilenameWithoutExt(java.net.URL url)
           
static java.lang.String extractFilenameWithoutExt(java.net.URL url, java.lang.String ext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoaderUtils

public LoaderUtils()
Method Detail

extractBaseURL

public static final java.net.URL extractBaseURL(java.net.URL url)
                                         throws java.io.IOException
Throws:
java.io.IOException

extractBaseURL

public static final java.net.URL extractBaseURL(java.io.File file)
                                         throws java.io.IOException
Throws:
java.io.IOException

extractBaseURL

public static final java.net.URL extractBaseURL(java.lang.String filename)
                                         throws java.io.IOException
Throws:
java.io.IOException

extractFilenameWithoutExt

public static final java.lang.String extractFilenameWithoutExt(java.net.URL url,
                                                               java.lang.String ext)

extractFilenameWithoutExt

public static final java.lang.String extractFilenameWithoutExt(java.net.URL url)