Class InfoItem

  • Direct Known Subclasses:
    DescriptionInfoItem

    public class InfoItem
    extends java.lang.Object
    The optional kind="splash" attribute may be used in an icon element to indicate that the image is to be used as a "splash" screen during the launch of an application. If the JNLP file does not contain an icon element with kind="splash" attribute, Java Web Start will construct a splash screen using other items from the information Element. If the JNLP file does not contain any icon images, the splash image will consist of the application's title and vendor, as taken from the JNLP file. items not used inside
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SPLASH  
      protected java.lang.String type  
      protected java.lang.String value  
    • Constructor Summary

      Constructors 
      Constructor Description
      InfoItem​(java.lang.String type, java.lang.String value)  
    • Field Detail

      • type

        protected java.lang.String type
      • value

        protected java.lang.String value
    • Constructor Detail

      • InfoItem

        public InfoItem​(java.lang.String type,
                        java.lang.String value)
    • Method Detail

      • getType

        public java.lang.String getType()
        Returns:
        the type
      • setType

        public void setType​(java.lang.String type)
        Parameters:
        type - the type to set
      • getValue

        public java.lang.String getValue()
        Returns:
        the value
      • setValue

        public void setValue​(java.lang.String value)
        Parameters:
        value - the value to set
      • isofSameType

        public boolean isofSameType​(InfoItem o)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toNiceString

        public java.lang.String toNiceString()
      • localise

        public static java.lang.String localise​(java.lang.String key,
                                                java.lang.String s)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object