- All Implemented Interfaces:
public class ResourcesDownloader extends OptionalInstallations
"EPSG"for the EPSG geodetic dataset.
Defined in the
Constructor SummaryConstructorDescriptionCreates a new installation scripts provider.
Method SummaryModifier and TypeMethodDescription
Methods inherited from class OptionalInstallations
getLicense, getResource, getResourceNames, getSpaceRequirement, openScript
ResourcesDownloaderpublic ResourcesDownloader()Creates a new installation scripts provider.
getLocalepublic Locale getLocale()Returns the locale to use for messages shown to the user.
ResourcesDownloadercan not ask user's agreement because there is no
Consoleattached to the current Java virtual machine, then this method returns an empty set.
askUserAgreementAsks to the user if (s)he agree to download and install the resource for the given authority. This method may be invoked twice for the same
authorityargument: first with a null
licenseargument for asking if the user agrees to download the data, then with a non-null
licenseargument for asking if the user agrees with the license terms.