Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

Email (Google App Engine API for Java)

Stay organized with collections Save and categorize content based on your preferences.
com.google.appengine.api.datastore

Class Email

  • java.lang.Object
    • com.google.appengine.api.datastore.Email
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Email>


    public final class Email
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<Email>
    An e-mail address datatype. Makes no attempt at validation.
    See Also:
    RFC 2822 for the e-mail address specification., Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      Email(java.lang.String email) 
    • Constructor Detail

      • Email

        public Email(java.lang.String email)
    • Method Detail

      • getEmail

        public java.lang.String getEmail()
      • compareTo

        public int compareTo(Email e)
        Specified by:
        compareTo in interface java.lang.Comparable<Email>
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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