Class Resource
java.lang.Object
nl.tudelft.simulation.dsol.swing.gui.util.Resource
Resource utility. Code based on OpenTrafficSim project component with the same purpose.
Copyright (c) 2020-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information DSOL Manual. The DSOL project is distributed under a three-clause BSD-style license, which can be found at DSOL License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamgetResourceAsStream(String name) Obtains stream for resource, either in IDE or java.
-
Method Details
-
getResourceAsStream
Obtains stream for resource, either in IDE or java.- Parameters:
name- String; name of resource- Returns:
- the resolved input stream
-