public final class Resource extends Object
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
static InputStream |
getResourceAsStream(String name)
Obtains stream for resource, either in IDE or java.
|
public static InputStream getResourceAsStream(String name)
name
- String; name of resourceCopyright © 2014–2019 Delft University of Technology. All rights reserved.