PathUtility.getFileNameFromURI(final URI resourceAddress, final boolean usePathStyleUris) Method

Definition

Gets the file name from the URI.

public static String getFileNameFromURI(final URI resourceAddress, final boolean usePathStyleUris)

Parameters

resourceAddress
final URI

the file URI

usePathStyleUris
final boolean

a value indicating if the address is a path style URI

Returns

String

the file's name

Applies to