Uses of Record Class
opennlp.tools.util.ResourceInstaller.Limits
Packages that use ResourceInstaller.Limits
-
Uses of ResourceInstaller.Limits in opennlp.tools.util
Fields in opennlp.tools.util declared as ResourceInstaller.LimitsModifier and TypeFieldDescriptionstatic final ResourceInstaller.LimitsResourceInstaller.Limits.DEFAULTThe limits applied when none are given: 20 second connect timeout, 60 second read timeout, at most 5 redirects, a 1 GiB download limit, a 4 GiB expansion limit, 100000 archive entries, and an expansion ratio of 100.Methods in opennlp.tools.util that return ResourceInstaller.LimitsMethods in opennlp.tools.util with parameters of type ResourceInstaller.LimitsModifier and TypeMethodDescriptionvoidDictionaryCatalog.install(String id, Path targetDirectory, boolean remoteDownloadEnabled, ResourceInstaller.Limits limits) Installs a catalog entry intotargetDirectorywhen remote downloads are enabled.static PathResourceInstaller.install(URI source, Path targetDirectory, String checksum, ResourceInstaller.Limits limits) Fetches, verifies, and unpacks a resource under the givenResourceInstaller.Limits.