- java.lang.Object
-
- smartefact.xdg.desktopentry.DesktopEntry.Line
-
- smartefact.xdg.desktopentry.DesktopEntry.Entry
-
- Enclosing class:
- DesktopEntry
public static final class DesktopEntry.Entry extends DesktopEntry.Line
EntryDesktopEntry.Linein a desktop entry.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(@Nullable Object object)@NotNull StringgetKey()@NotNull StringgetValue()@Nullable BooleangetValueAsBooleanOrNull()@Nullable DoublegetValueAsNumericOrNull()inthashCode()static booleanisLegalKey(@NotNull String string)static booleanisLegalKeyChar(char c)@NotNull StringtoString()
-
-
-
Method Detail
-
isLegalKeyChar
public static boolean isLegalKeyChar(char c)
-
isLegalKey
public static boolean isLegalKey(@NotNull @NotNull String string)
-
getValueAsBooleanOrNull
@Contract(pure=true) @Nullable public @Nullable Boolean getValueAsBooleanOrNull()
-
getValueAsNumericOrNull
@Contract(pure=true) @Nullable public @Nullable Double getValueAsNumericOrNull()
-
equals
@Contract(value="null -> false", pure=true) public boolean equals(@Nullable @Nullable Object object)
- Specified by:
equalsin classDesktopEntry.Line
-
hashCode
@Contract(pure=true) public int hashCode()
- Specified by:
hashCodein classDesktopEntry.Line
-
-