org.processmining.plugins.declareminer.visualizing
Class URLLoader

java.lang.Object
  extended by org.processmining.plugins.declareminer.visualizing.URLLoader

public class URLLoader
extends java.lang.Object

Title: DECLARE

Description:

Copyright: Copyright (c) 2006

Company: TU/e

Version:
1.0
Author:
Maja Pesic

Constructor Summary
URLLoader()
           
 
Method Summary
static java.net.URL loadResource(java.lang.String fileName)
          Loads URL form the RESOURCES directory.
static java.net.URL loadURL(java.lang.String fileName)
          Loads an URL from the WORKING directory.
static java.net.URL loadURL(java.lang.String dirPath, java.lang.String fileName)
          Loads an URL from the specified path in the WORKING directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLLoader

public URLLoader()
Method Detail

loadURL

public static java.net.URL loadURL(java.lang.String dirPath,
                                   java.lang.String fileName)
Loads an URL from the specified path in the WORKING directory. WORKING_DIRECTORY/dirPath/fileName.

Parameters:
dirPath - String
fileName - String
Returns:
URL

loadURL

public static java.net.URL loadURL(java.lang.String fileName)
Loads an URL from the WORKING directory. WORKING_DIRECTORY/fileName

Parameters:
fileName - String
Returns:
URL

loadResource

public static java.net.URL loadResource(java.lang.String fileName)
Loads URL form the RESOURCES directory. WORKING_DIRECTORY/RESOURCES_DIRECTORY/fileName

Parameters:
fileName - String
Returns:
URL