public final class ResourceUtils extends Object
public static InputStream openInputStream(String resource) throws IOException
resource
- The path leading to the resource. Can be an URL, a path
leading to a class resource or a File
.IOException
- If the resource could not be found or opened.Copyright © 2014. All rights reserved.