selectProvider
fn
ArchiveProvider selectProvider(ArchiveFormat fmt, string preferredVendor = null)Get the best provider for a format.
Selects the provider with the highest priority. If preferredVendor is specified, the provider with that full name is returned instead.
Parameters
fmt | The archive format. |
preferredVendor | Optional full provider name (e.g., "ddn-zip"). |
Returns
The selected provider.
Throws
ArchiveError if no provider is registered for the format,
or the preferred vendor is not found.