nl.tudelft.simulation.language.io
Class URLResource

java.lang.Object
  extended by nl.tudelft.simulation.language.io.URLResource

public final class URLResource
extends Object

(c) copyright 2002-2005 Delft University of Technology , the Netherlands.

See for project information www.simulation.tudelft.nl/language
License of use: Lesser General Public License (LGPL) , no warranty

Since:
1.4
Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:25:55 $
Author:
Peter Jacobs

Method Summary
static URL getResource(String name)
          resolves a resource for name
static InputStream getResourceAsStream(String name)
          returns the reseource as stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResource

public static URL getResource(String name)
resolves a resource for name

Parameters:
name - the name to search for
Returns:
the resolved URL

getResourceAsStream

public static InputStream getResourceAsStream(String name)
returns the reseource as stream

Parameters:
name - the name of the resource
Returns:
the inputStream


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.