public final class ResourceUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
getResourceStream(String key)
Gets the resource's inputstream.
|
static InputStream |
getResourceStream(String key, ClassLoader loader)
Gets the resource's inputstream.
|
public static InputStream getResourceStream(String key)
key - the full name of the resource.
InputStream to get the resource or null if not found.
public static InputStream getResourceStream(String key, ClassLoader loader)
key - the full name of the resource.
loader - the ClassLoader to load the resource or null to try the ones available.
InputStream to get the resource or null if not found.
Copyright © 1998–2017 iText Group NV. All rights reserved.