public class URLLoader
extends java.lang.Object
Title: DECLARE
Description:
Copyright: Copyright (c) 2006
Company: TU/e
Constructor and Description |
---|
URLLoader() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static java.net.URL loadURL(java.lang.String dirPath, java.lang.String fileName)
dirPath
- StringfileName
- Stringpublic static java.net.URL loadURL(java.lang.String fileName)
fileName
- Stringpublic static java.net.URL loadResource(java.lang.String fileName)
fileName
- String