URL object.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | CLASSPATH_SCHEME
Scheme name for a classpath resource |
| public static final String | SCHEME_PATTERN
Regex pattern for a URL scheme (reference RFC 2396 section 3) |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static URL | Returns: URL object that refers tolocationString describing the location location)Converts a string describing the location of a resource into a URL object. |
| CLASSPATH_SCHEME | back to summary |
|---|---|
| public static final String CLASSPATH_SCHEME Scheme name for a classpath resource | |
| SCHEME_PATTERN | back to summary |
|---|---|
| public static final String SCHEME_PATTERN Regex pattern for a URL scheme (reference RFC 2396 section 3) | |
| LocationUtil | back to summary |
|---|---|
| public LocationUtil() | |
| urlForResource | back to summary |
|---|---|
| public static URL urlForResource(String location) throws MalformedURLException, FileNotFoundException Converts a string describing the location of a resource into a URL object.
| |