Class PWAProps

    • Field Detail

      • FILE_NAME

        public static final java.lang.String FILE_NAME
        The file name of the PWA properties container: ".iiziPWA".
        See Also:
        Constant Field Values
      • ATOM

        public static final Atom ATOM
        The atom for the PWA properties container: "$pwa".
      • LOCALIZED_LANGUAGES_PROPNAME

        public static final java.lang.String LOCALIZED_LANGUAGES_PROPNAME
        The property name for the localized languages String: "localized".
        See Also:
        Constant Field Values
      • APP_NAME_PROPNAME

        public static final java.lang.String APP_NAME_PROPNAME
        The property name for the application name PlainKString: "name".
        See Also:
        Constant Field Values
      • APP_DESCR_ATOM

        public static final Atom APP_DESCR_ATOM
        The property atom for the application description PlainKString: Atom.DESCR.
      • UNKNOWN

        public static final java.lang.String UNKNOWN
        The String "UNKNOWN".
        See Also:
        Constant Field Values
    • Constructor Detail

      • PWAProps

        public PWAProps()
        Creates a PWAProps container without name and with a null value.
      • PWAProps

        public PWAProps​(Atom propertyAtom)
        Creates a PWAProps container with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
    • Method Detail

      • clone

        public PWAProps clone()
        Creates a clone out of this property.
        Overrides:
        clone in class PropCnr
        Returns:
        The clone of the PWAProps.
      • getLocalizedLanguages

        public java.lang.String getLocalizedLanguages()
        Gets the list of localized languages.
        Returns:
        A comma separated list of language codes, null if undefined.
      • getName

        public java.lang.String getName​(IKStringInfoProvider provider)
        Gets the application name.
        Parameters:
        provider - The KString provider used to resolve the stored PlainKString to a String using e.g. the appropriate language.
        Returns:
        The application name, or "UNKNOWN" for none.
      • getDescription

        public java.lang.String getDescription​(IKStringInfoProvider provider)
        Gets the application description.
        Parameters:
        provider - The KString provider used to resolve the stored PlainKString to a String using e.g. the appropriate language.
        Returns:
        The application description, or "UNKNOWN" for none.
      • verify

        public void verify​(PropVerification verification)
        Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
        Specified by:
        verify in interface IGProp<GProp<?>[]>
        Overrides:
        verify in class PropCnr
        Parameters:
        verification - The property verification class.