download
public static String download(String language, Path temporary, String knownEtag, BooleanSupplier cancelled)
Downloads a published language file into temporary and checks that EliteMobs can parse it.
Return
the downloaded copy's ETag ("" when the server sent none), or null when the held copy is current or the transfer was cancelled
Parameters
knownEtag
the ETag of the copy already held, or null to always download
cancelled
stops the transfer early; the caller discards whatever was written