| Modifier and Type | Class and Description |
|---|---|
| private static interface | |
| private static interface | |
| private class | DesktopIntegration.
Shell commands to integrate something with desktop. |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private static final String | |
| private static final String | |
| private static final String | |
| private final Optional | |
| private final Map | |
| private final OverridableResource | |
| private final BuildEnv | |
| private final Optional | |
| private final Optional | |
| private final LinuxLauncher | |
| private final InstallableFile | |
| private final List | |
| private final LinuxPackage | |
| private static final List | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| pack-priv static ShellCustomAction | |
| private Map | |
| private InstallableFile | |
| private void | |
| protected Map | |
| private List | |
| private static int | |
| private static int | |
| protected List | |
| pack-priv List | |
| private List | |
| private void |
| associations | back to summary |
|---|---|
| private final List<DesktopIntegration. | |
| COMMANDS_INSTALL | back to summary |
|---|---|
| private static final String COMMANDS_INSTALL | |
| COMMANDS_UNINSTALL | back to summary |
|---|---|
| private static final String COMMANDS_UNINSTALL | |
| COMMON_SCRIPTS | back to summary |
|---|---|
| private static final String COMMON_SCRIPTS | |
| desktopFile | back to summary |
|---|---|
| private final Optional<InstallableFile> desktopFile | |
| desktopFileData | back to summary |
|---|---|
| private final Map<String, String> desktopFileData | |
| desktopFileResource | back to summary |
|---|---|
| private final OverridableResource desktopFileResource | |
| env | back to summary |
|---|---|
| private final BuildEnv env | |
| iconFile | back to summary |
|---|---|
| private final Optional<InstallableFile> iconFile | |
| iconResource | back to summary |
|---|---|
| private final Optional<OverridableResource> iconResource | |
| launcher | back to summary |
|---|---|
| private final LinuxLauncher launcher | |
| mimeInfoFile | back to summary |
|---|---|
| private final InstallableFile mimeInfoFile | |
| nestedIntegrations | back to summary |
|---|---|
| private final List<DesktopIntegration> nestedIntegrations | |
| pkg | back to summary |
|---|---|
| private final LinuxPackage pkg | |
| REPLACEMENT_STRING_IDS | back to summary |
|---|---|
| private static final List<String> REPLACEMENT_STRING_IDS | |
| SCRIPTS | back to summary |
|---|---|
| private static final String SCRIPTS | |
| DesktopIntegration | back to summary |
|---|---|
| private DesktopIntegration(BuildEnv env, LinuxPackage pkg, LinuxLauncher launcher) | |
| addFileAssociationIconFiles | back to summary |
|---|---|
| private void addFileAssociationIconFiles(DesktopIntegration. | |
| appendFileAssociation | back to summary |
|---|---|
| private void appendFileAssociation(XMLStreamWriter xml, DesktopIntegration. | |
| create | back to summary |
|---|---|
| pack-priv static ShellCustomAction create(BuildEnv env, Package pkg) | |
| createDataForDesktopFile | back to summary |
|---|---|
| private Map | |
| createDesktopFile | back to summary |
|---|---|
| private InstallableFile createDesktopFile(String fileName) Creates desktop integration file. xml, icon, etc. Returned instance: - srcPath(): path where it should be placed at package build time; - installPath(): path where it should be installed by package manager; | |
| createFileAssociationsMimeInfoFile | back to summary |
|---|---|
| private void createFileAssociationsMimeInfoFile() throws IOException | |
| createImpl | back to summary |
|---|---|
| protected Map Implements abstract jdk.
| |
| getMimeTypeNamesFromFileAssociations | back to summary |
|---|---|
| private List | |
| getSquareSizeOfImage | back to summary |
|---|---|
| private static int getSquareSizeOfImage(Path path) | |
| normalizeIconSize | back to summary |
|---|---|
| private static int normalizeIconSize(int iconSize) | |
| replacementStringIds | back to summary |
|---|---|
| protected List Overrides jdk.
| |
| requiredPackages | back to summary |
|---|---|
| pack-priv List Overrides jdk.
| |
| requiredPackagesSelf | back to summary |
|---|---|
| private List | |
| saveDesktopFile | back to summary |
|---|---|
| private void saveDesktopFile(Map<String, String> data) throws IOException | |
| Modifier and Type | Method and Description |
|---|---|
| public static DesktopIntegration. | |
| private static int |
| create | back to summary |
|---|---|
| public static DesktopIntegration. | |
| getIconSize | back to summary |
|---|---|
| private static int getIconSize(FileAssociation fa) | |
| Modifier and Type | Class and Description |
|---|---|
| public static record |
| Modifier and Type | Method and Description |
|---|---|
| public int |
| iconSize | back to summary |
|---|---|
| public int iconSize() | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | iconSize
Record Component accessed by iconSize(). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public int | iconSize()
Record Component getter of iconSize. Implements jdk.
|
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| iconSize | back to summary |
|---|---|
| private final int iconSize Record Component accessed by iconSize(). | |
| Stub | back to summary |
|---|---|
| public Stub(int iconSize) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| iconSize | back to summary |
|---|---|
| public int iconSize() Record Component getter of iconSize. Implements jdk. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private List | |
| private String | |
| private String | |
| private List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv void |
| registerDesktopFileCmd | back to summary |
|---|---|
| private String registerDesktopFileCmd | |
| registerFileAssociationsCmd | back to summary |
|---|---|
| private String registerFileAssociationsCmd | |
| registerIconCmds | back to summary |
|---|---|
| private List<String> registerIconCmds | |
| unregisterDesktopFileCmd | back to summary |
|---|---|
| private String unregisterDesktopFileCmd | |
| unregisterFileAssociationsCmd | back to summary |
|---|---|
| private String unregisterFileAssociationsCmd | |
| unregisterIconCmds | back to summary |
|---|---|
| private List<String> unregisterIconCmds | |
| ShellCommands | back to summary |
|---|---|
| pack-priv ShellCommands() | |
| addIcon | back to summary |
|---|---|
| pack-priv void addIcon(String mimeType, Path iconFile, int imgSize) | |
| applyTo | back to summary |
|---|---|
| pack-priv void applyTo(Map<String, String> data) | |
| setFileAssociations | back to summary |
|---|---|
| pack-priv void setFileAssociations() | |