@Internal public class ArchiverResolver extends Object
archiver types
into actual instances of archivers
.Constructor and Description |
---|
ArchiverResolver() |
Modifier and Type | Method and Description |
---|---|
static @NotNull Archiver |
getArchiver(@NotNull ArchiverType archiverType)
Returns an instance of an archiver of the specified type.
|
static @NotNull String |
getDefaultArchiveExtension(@NotNull ArchiverType archiverType)
Returns default archive file extension for the specified archiver type.
|
@NotNull public static @NotNull Archiver getArchiver(@NotNull @NotNull ArchiverType archiverType)
archiverType
- type of the archiverIllegalArgumentException
- if an archiver of the specified type could not be constructed@NotNull public static @NotNull String getDefaultArchiveExtension(@NotNull @NotNull ArchiverType archiverType)
archiverType
- type of the archiverCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.