StorageURL.appendToURLPath(URL baseURL, String name) Method

Definition

Appends a string to the end of a URL's path (prefixing the string with a '/' if required).

protected static URL appendToURLPath(URL baseURL, String name)

Parameters

baseURL
URL

The url to which the name should be appended.

name
String

The name to be appended.

Returns

URL

A url with the name appended.

Exceptions

MalformedURLException

Appending the specified name produced an invalid URL.

Applies to