public class ResourceHelper extends Object
Constructor and Description |
---|
ResourceHelper() |
Modifier and Type | Method and Description |
---|---|
static URL |
locateResource(String name)
Locate said resource.
|
static URL |
requireResource(String name)
Locate said resource, throwing an exception if it could not be found.
|
public static URL requireResource(String name)
name
- The resource name.IllegalArgumentException
- If the resource could not be found.Copyright © 2007-2013 JBoss, a division of Red Hat, Inc. All Rights Reserved.