Class GameProfile.Property

  • Enclosing class:
    GameProfile

    public static final class GameProfile.Property
    extends java.lang.Object
    Represents a Mojang profile property. Just like GameProfile, this class is immutable.
    • Constructor Summary

      Constructors 
      Constructor Description
      Property​(java.lang.String name, java.lang.String value, java.lang.String signature)
      Creates a profile property entry.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      java.lang.String getSignature()  
      java.lang.String getValue()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Property

        public Property​(java.lang.String name,
                        java.lang.String value,
                        java.lang.String signature)
        Creates a profile property entry.
        Parameters:
        name - the name of the property
        value - the value of the property
        signature - the Mojang signature for the property
    • Method Detail

      • getName

        public java.lang.String getName()
      • getValue

        public java.lang.String getValue()
      • getSignature

        public java.lang.String getSignature()
      • toString

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