public final class ResourceUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.io.InputStream |
openInputStream(java.lang.String resource)
Returns an input stream to the resource.
|
public static java.io.InputStream openInputStream(java.lang.String resource)
throws java.io.IOException
resource - The path leading to the resource. Can be an URL, a path
leading to a class resource or a File.java.io.IOException - If the resource could not be found or opened.Copyright © 2012. All Rights Reserved.