Enum Class UserProfileImageURNType

java.lang.Object
java.lang.Enum<UserProfileImageURNType>
com.iizix.urn.user.UserProfileImageURNType
All Implemented Interfaces:
Serializable, Comparable<UserProfileImageURNType>, Constable

public enum UserProfileImageURNType extends Enum<UserProfileImageURNType>
Possible type values for the {@link UserProfileImageURN}.
Author:
Christopher Mindus
  • Enum Constant Details Link icon

    • Uploaded Link icon

      public static final UserProfileImageURNType Uploaded
      The uploaded profile image, the highest resolution.
    • CroppedUploaded Link icon

      public static final UserProfileImageURNType CroppedUploaded
      The cropped uploaded profile image, the highest resolution. The image might be circular.
    • Large Link icon

      public static final UserProfileImageURNType Large
      The DETAIL for file name for a large profile image (normally a large PNG, cropped and reduced perhaps: max size about 500x500). This detail is NOT stored in the server's database table for details.
    • Thumbnail Link icon

      public static final UserProfileImageURNType Thumbnail
      The DETAIL for file name for thumbnail profile image (normally a PNG of about 150x150).
  • Field Details Link icon

    • detail Link icon

      public final String detail
      The DETAIL string for the User Details.
  • Method Details Link icon

    • values Link icon

      public static UserProfileImageURNType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf Link icon

      public static UserProfileImageURNType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString Link icon

      public static UserProfileImageURNType fromString(String type)
      Gets the URN Profile User Image type from a string, case insensitive, the match with "enum" values in this class must match precisely.
      Parameters:
      type - The URN Profile User String type.
      Returns:
      The UserProfileStringURNQuery instance, or null if not found.