@Beta public interface ClientLocalizationContext
| Modifier and Type | Method and Description |
|---|---|
void |
localize(String name,
URI uri)
Localizes a file with the given name.
|
void |
localize(String name,
URI uri,
boolean archive)
Localizes a file with the given name.
|
void localize(String name, URI uri)
TaskLocalizationContext.getLocalFile(String).name - the name for the localized file. The localized file can be retrieved using this name at program
runtime using TaskLocalizationContext.getLocalFile(String)uri - the URI of the file to localizevoid localize(String name, URI uri, boolean archive)
TaskLocalizationContext.getLocalFile(String).name - the name for the localized file. The localized file can be retrieved using this name at program
runtime using TaskLocalizationContext.getLocalFile(String)uri - the URI of the file to localizearchive - indicates if the file is an archiveCopyright © 2022 Cask Data, Inc. Licensed under the Apache License, Version 2.0.