com.evernote.edam.limits
Class Constants

java.lang.Object
  extended by com.evernote.edam.limits.Constants

public class Constants
extends java.lang.Object

Contains constant values specified by this package.


Field Summary
static int EDAM_APPLICATIONDATA_ENTRY_LEN_MAX
          The total length of an entry in an applicationData LazyMap, which is the sum of the length of the key and the value for the entry.
static int EDAM_APPLICATIONDATA_NAME_LEN_MAX
          Maximum length of an application name, which is the key in an applicationData LazyMap found in entities such as Resources and Notes.
static int EDAM_APPLICATIONDATA_NAME_LEN_MIN
          Minimum length of an application name, which is the key in an applicationData LazyMap found in entities such as Resources and Notes.
static java.lang.String EDAM_APPLICATIONDATA_NAME_REGEX
          An application name must match this regex.
static int EDAM_APPLICATIONDATA_VALUE_LEN_MAX
          Maximum length of an applicationData value in a LazyMap, found in entities such as Resources and Notes.
static int EDAM_APPLICATIONDATA_VALUE_LEN_MIN
          Minimum length of an applicationData value in a LazyMap, found in entities such as Resources and Notes.
static java.lang.String EDAM_APPLICATIONDATA_VALUE_REGEX
          An applicationData map value must match this regex.
static int EDAM_ATTRIBUTE_LEN_MAX
          Maximum length of any string-based attribute, in Unicode chars
static int EDAM_ATTRIBUTE_LEN_MIN
          Minimum length of any string-based attribute, in Unicode chars
static int EDAM_ATTRIBUTE_LIST_MAX
          The maximum number of values that can be stored in a list-based attribute (e.g.
static int EDAM_ATTRIBUTE_MAP_MAX
          The maximum number of entries that can be stored in a map-based attribute such as applicationData fields in Resources and Notes.
static java.lang.String EDAM_ATTRIBUTE_REGEX
          Any string-based attribute must match the provided regular expression.
static int EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX
          The maximum length, in Unicode characters, of a description for a business notebook.
static int EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN
          The minimum length, in Unicode characters, of a description for a business notebook.
static java.lang.String EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX
          All business notebook descriptions must match this pattern.
static int EDAM_BUSINESS_NOTEBOOKS_MAX
          Maximum number of Notebooks in a business account
static int EDAM_BUSINESS_NOTES_MAX
          Maximum number of Notes per business account
static int EDAM_BUSINESS_PHONE_NUMBER_LEN_MAX
          The maximum length of a business phone number.
static int EDAM_BUSINESS_TAGS_MAX
          Maximum number of Tags per business account.
static int EDAM_BUSINESS_URI_LEN_MAX
          The maximum length of an Evernote Business URI
static java.lang.String EDAM_CONTENT_CLASS_FOOD_MEAL
          The content class prefix used for structured notes created by Evernote Food that captures the experience of a particular meal.
static java.lang.String EDAM_CONTENT_CLASS_HELLO_ENCOUNTER
          The content class prefix used for structured notes created by Evernote Hello that represents an encounter with a person.
static java.lang.String EDAM_CONTENT_CLASS_HELLO_PROFILE
          The content class prefix used for structured notes created by Evernote Hello that represents the user's profile.
static java.lang.String EDAM_CONTENT_CLASS_PENULTIMATE_NOTEBOOK
          The content class value used for structured notes created by Evernote Penultimate that represents a Penultimate notebook.
static java.lang.String EDAM_CONTENT_CLASS_PENULTIMATE_PREFIX
          The content class prefix used for structured notes created by Evernote Penultimate.
static java.lang.String EDAM_CONTENT_CLASS_SKITCH
          The content class value used for structured image notes created by Evernote Skitch.
static java.lang.String EDAM_CONTENT_CLASS_SKITCH_PDF
          The content class value used for structured PDF notes created by Evernote Skitch.
static java.lang.String EDAM_CONTENT_CLASS_SKITCH_PREFIX
          The content class prefix used for structured notes created by Evernote Skitch.
static int EDAM_DEVICE_DESCRIPTION_LEN_MAX
          Maximum length of the device description string associated with long sessions.
static java.lang.String EDAM_DEVICE_DESCRIPTION_REGEX
          Regular expression for device description strings associated with long sessions.
static int EDAM_DEVICE_ID_LEN_MAX
          Maximum length of the device identifier string associated with long sessions.
static java.lang.String EDAM_DEVICE_ID_REGEX
          Regular expression for device identifier strings associated with long sessions.
static java.lang.String EDAM_EMAIL_DOMAIN_REGEX
          A regular expression that matches the part of an email address after the '@' symbol.
static int EDAM_EMAIL_LEN_MAX
          The maximum length of any email address
static int EDAM_EMAIL_LEN_MIN
          The minimum length of any email address
static java.lang.String EDAM_EMAIL_LOCAL_REGEX
          A regular expression that matches the part of an email address before the '@' symbol.
static java.lang.String EDAM_EMAIL_REGEX
          A regular expression that must match any email address given to Evernote.
static java.lang.String EDAM_FOOD_APP_CONTENT_CLASS_PREFIX
          The content class prefix used for all notes created by Evernote Food.
static int EDAM_GUID_LEN_MAX
          The maximum length of a GUID generated by the Evernote service
static int EDAM_GUID_LEN_MIN
          The minimum length of a GUID generated by the Evernote service
static java.lang.String EDAM_GUID_REGEX
          GUIDs generated by the Evernote service will match the provided pattern
static int EDAM_HASH_LEN
          The exact length of a MD5 hash checksum, in binary bytes.
static java.lang.String EDAM_HELLO_APP_CONTENT_CLASS_PREFIX
          The content class prefix used for all notes created by Evernote Hello.
static java.util.Set<java.lang.String> EDAM_INDEXABLE_RESOURCE_MIME_TYPES
          The set of MIME types that Evernote will parse and index for searching.
static int EDAM_MAX_PREFERENCES
          Maximum number of name/value pairs allowed
static int EDAM_MAX_VALUES_PER_PREFERENCE
          Maximum number of values per preference name
static int EDAM_MIME_LEN_MAX
          The maximum length of any MIME type string given to Evernote
static int EDAM_MIME_LEN_MIN
          The minimum length of any MIME type string given to Evernote
static java.lang.String EDAM_MIME_REGEX
          Any MIME type string given to Evernote must match the provided pattern.
static java.lang.String EDAM_MIME_TYPE_AAC
          Canonical MIME type string for AAC audio resources
static java.lang.String EDAM_MIME_TYPE_AMR
          Canonical MIME type string for AMR audio resources
static java.lang.String EDAM_MIME_TYPE_DEFAULT
          MIME type used for attachments of an unspecified type
static java.lang.String EDAM_MIME_TYPE_GIF
          Canonical MIME type string for GIF image resources
static java.lang.String EDAM_MIME_TYPE_INK
          Canonical MIME type string for Evernote Ink resources
static java.lang.String EDAM_MIME_TYPE_JPEG
          Canonical MIME type string for JPEG image resources
static java.lang.String EDAM_MIME_TYPE_M4A
          Canonical MIME type string for MP4 audio resources
static java.lang.String EDAM_MIME_TYPE_MP3
          Canonical MIME type string for MP3 audio resources
static java.lang.String EDAM_MIME_TYPE_MP4_VIDEO
          Canonical MIME type string for MP4 video resources
static java.lang.String EDAM_MIME_TYPE_PDF
          Canonical MIME type string for PDF resources
static java.lang.String EDAM_MIME_TYPE_PNG
          Canonical MIME type string for PNG image resources
static java.lang.String EDAM_MIME_TYPE_WAV
          Canonical MIME type string for WAV audio resources
static java.util.Set<java.lang.String> EDAM_MIME_TYPES
          The set of resource MIME types that are expected to be handled correctly by all of the major Evernote client applications.
static int EDAM_NOTE_CONTENT_CLASS_LEN_MAX
          The maximum length of the content class attribute of a note.
static int EDAM_NOTE_CONTENT_CLASS_LEN_MIN
          The minimum length of the content class attribute of a note.
static java.lang.String EDAM_NOTE_CONTENT_CLASS_REGEX
          The regular expression that the content class of a note must match to be valid.
static int EDAM_NOTE_CONTENT_LEN_MAX
          Maximum length of a Note.content field Note.content fields must comply with the ENML DTD.
static int EDAM_NOTE_CONTENT_LEN_MIN
          Minimum length of a Note.content field.
static int EDAM_NOTE_RESOURCES_MAX
          The maximum number of Resources per Note
static int EDAM_NOTE_SIZE_MAX_FREE
          Maximum total size of a Note that can be added to a Free account.
static int EDAM_NOTE_SIZE_MAX_PREMIUM
          Maximum total size of a Note that can be added to a Premium account.
static int EDAM_NOTE_TAGS_MAX
          The maximum number of Tags per Note
static int EDAM_NOTE_TITLE_LEN_MAX
          The maximum length of a Note.title, in Unicode characters
static int EDAM_NOTE_TITLE_LEN_MIN
          The minimum length of a Note.title, in Unicode characters
static java.lang.String EDAM_NOTE_TITLE_REGEX
          All Note.title fields must match this pattern.
static int EDAM_NOTEBOOK_NAME_LEN_MAX
          The maximum length of a Notebook.name, in Unicode characters
static int EDAM_NOTEBOOK_NAME_LEN_MIN
          The minimum length of a Notebook.name, in Unicode characters
static java.lang.String EDAM_NOTEBOOK_NAME_REGEX
          All Notebook.name fields must match this pattern.
static int EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX
          Maximum number of shared notebooks per notebook
static int EDAM_NOTEBOOK_STACK_LEN_MAX
          The maximum length of a Notebook.stack, in Unicode characters
static int EDAM_NOTEBOOK_STACK_LEN_MIN
          The minimum length of a Notebook.stack, in Unicode characters
static java.lang.String EDAM_NOTEBOOK_STACK_REGEX
          All Notebook.stack fields must match this pattern.
static int EDAM_PREFERENCE_NAME_LEN_MAX
          Maximum length of a preference name
static int EDAM_PREFERENCE_NAME_LEN_MIN
          Minimum length of a preference name
static java.lang.String EDAM_PREFERENCE_NAME_REGEX
          A preference name must match this regex.
static java.lang.String EDAM_PREFERENCE_SHORTCUTS
          The name of the preferences entry that contains shortcuts.
static int EDAM_PREFERENCE_SHORTCUTS_MAX_VALUES
          The maximum number of shortcuts that a user may have.
static int EDAM_PREFERENCE_VALUE_LEN_MAX
          Maximum length of a preference value
static int EDAM_PREFERENCE_VALUE_LEN_MIN
          Minimum length of a preference value
static java.lang.String EDAM_PREFERENCE_VALUE_REGEX
          A preference value must match this regex.
static int EDAM_PUBLISHING_DESCRIPTION_LEN_MAX
          The maximum length of a Publishing.publicDescription field.
static int EDAM_PUBLISHING_DESCRIPTION_LEN_MIN
          The minimum length of a Publishing.publicDescription field.
static java.lang.String EDAM_PUBLISHING_DESCRIPTION_REGEX
          Any public notebook's Publishing.publicDescription field must match this pattern.
static int EDAM_PUBLISHING_URI_LEN_MAX
          The maximum length of a public notebook URI component
static int EDAM_PUBLISHING_URI_LEN_MIN
          The minimum length of a public notebook URI component
static java.util.Set<java.lang.String> EDAM_PUBLISHING_URI_PROHIBITED
          The set of strings that may not be used as a publishing URI
static java.lang.String EDAM_PUBLISHING_URI_REGEX
          A public notebook URI component must match the provided pattern
static int EDAM_RELATED_MAX_NOTEBOOKS
          The maximum number of notebooks that will be returned from a findRelated() query.
static int EDAM_RELATED_MAX_NOTES
          The maximum number of notes that will be returned from a findRelated() query.
static int EDAM_RELATED_MAX_TAGS
          The maximum number of tags that will be returned from a findRelated() query.
static int EDAM_RELATED_PLAINTEXT_LEN_MAX
          The maximum length of the plain text in a findRelated query, assuming that plaintext is being provided.
static int EDAM_RELATED_PLAINTEXT_LEN_MIN
          The minimum length of the plain text in a findRelated query, assuming that plaintext is being provided.
static int EDAM_RESOURCE_SIZE_MAX_FREE
          Maximum size of a resource, in bytes, for Free accounts
static int EDAM_RESOURCE_SIZE_MAX_PREMIUM
          Maximum size of a resource, in bytes, for Premium accounts
static int EDAM_SAVED_SEARCH_NAME_LEN_MAX
          The maximum length of a SavedSearch.name field
static int EDAM_SAVED_SEARCH_NAME_LEN_MIN
          The minimum length of a SavedSearch.name field
static java.lang.String EDAM_SAVED_SEARCH_NAME_REGEX
          SavedSearch.name fields must match this pattern.
static int EDAM_SEARCH_QUERY_LEN_MAX
          The maximum length of a user search query string in Unicode chars
static int EDAM_SEARCH_QUERY_LEN_MIN
          The minimum length of a user search query string in Unicode chars
static java.lang.String EDAM_SEARCH_QUERY_REGEX
          Search queries must match the provided pattern.
static int EDAM_SEARCH_SUGGESTIONS_MAX
          Maximum number of search suggestions that can be returned
static int EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MAX
          Maximum length of the search suggestion prefix
static int EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MIN
          Minimum length of the search suggestion prefix
static int EDAM_TAG_NAME_LEN_MAX
          The maximum length of a Tag.name, in Unicode characters
static int EDAM_TAG_NAME_LEN_MIN
          The minimum length of a Tag.name, in Unicode characters
static java.lang.String EDAM_TAG_NAME_REGEX
          All Tag.name fields must match this pattern.
static int EDAM_TIMEZONE_LEN_MAX
          The maximum length of a timezone specification string
static int EDAM_TIMEZONE_LEN_MIN
          The minimum length of a timezone specification string
static java.lang.String EDAM_TIMEZONE_REGEX
          Any timezone string given to Evernote must match the provided pattern.
static int EDAM_USER_LINKED_NOTEBOOK_MAX
          Maximum number of linked notebooks per account, for a free account.
static int EDAM_USER_LINKED_NOTEBOOK_MAX_PREMIUM
          Maximum number of linked notebooks per account, for a premium account.
static int EDAM_USER_MAIL_LIMIT_DAILY_FREE
          The number of emails of any type that can be sent by a user with a Free account from the service per day.
static int EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM
          The number of emails of any type that can be sent by a user with a Premium account from the service per day.
static int EDAM_USER_NAME_LEN_MAX
          Maximum length of the User.name field
static int EDAM_USER_NAME_LEN_MIN
          Minimum length of the User.name field
static java.lang.String EDAM_USER_NAME_REGEX
          The User.name field must match this pattern, which excludes line endings and control characters.
static int EDAM_USER_NOTEBOOKS_MAX
          Maximum number of Notebooks per user
static int EDAM_USER_NOTES_MAX
          Maximum number of Notes per user
static int EDAM_USER_PASSWORD_LEN_MAX
          The maximum length of an Evernote user password
static int EDAM_USER_PASSWORD_LEN_MIN
          The minimum length of an Evernote user password
static java.lang.String EDAM_USER_PASSWORD_REGEX
          Evernote user passwords must match this regular expression
static int EDAM_USER_RECENT_MAILED_ADDRESSES_MAX
          Maximum number of recent email addresses that are maintained (see UserAttributes.recentMailedAddresses)
static int EDAM_USER_SAVED_SEARCHES_MAX
          Maximum number of SavedSearches per account
static int EDAM_USER_TAGS_MAX
          Maximum number of Tags per account
static long EDAM_USER_UPLOAD_LIMIT_BUSINESS
          The number of bytes of new data that may be uploaded to a Business user's personal account each month.
static long EDAM_USER_UPLOAD_LIMIT_FREE
          The number of bytes of new data that may be uploaded to a Free user's account each month.
static long EDAM_USER_UPLOAD_LIMIT_PREMIUM
          The number of bytes of new data that may be uploaded to a Premium user's account each month.
static int EDAM_USER_USERNAME_LEN_MAX
          The maximum length of an Evernote username
static int EDAM_USER_USERNAME_LEN_MIN
          The minimum length of an Evernote username
static java.lang.String EDAM_USER_USERNAME_REGEX
          Any Evernote User.username field must match this pattern.
static java.lang.String EDAM_VAT_REGEX
          A regular expression that must match any VAT ID given to Evernote.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EDAM_ATTRIBUTE_LEN_MIN

public static final int EDAM_ATTRIBUTE_LEN_MIN
Minimum length of any string-based attribute, in Unicode chars

See Also:
Constant Field Values

EDAM_ATTRIBUTE_LEN_MAX

public static final int EDAM_ATTRIBUTE_LEN_MAX
Maximum length of any string-based attribute, in Unicode chars

See Also:
Constant Field Values

EDAM_ATTRIBUTE_REGEX

public static final java.lang.String EDAM_ATTRIBUTE_REGEX
Any string-based attribute must match the provided regular expression. This excludes all Unicode line endings and control characters.

See Also:
Constant Field Values

EDAM_ATTRIBUTE_LIST_MAX

public static final int EDAM_ATTRIBUTE_LIST_MAX
The maximum number of values that can be stored in a list-based attribute (e.g. see UserAttributes.recentMailedAddresses)

See Also:
Constant Field Values

EDAM_ATTRIBUTE_MAP_MAX

public static final int EDAM_ATTRIBUTE_MAP_MAX
The maximum number of entries that can be stored in a map-based attribute such as applicationData fields in Resources and Notes.

See Also:
Constant Field Values

EDAM_GUID_LEN_MIN

public static final int EDAM_GUID_LEN_MIN
The minimum length of a GUID generated by the Evernote service

See Also:
Constant Field Values

EDAM_GUID_LEN_MAX

public static final int EDAM_GUID_LEN_MAX
The maximum length of a GUID generated by the Evernote service

See Also:
Constant Field Values

EDAM_GUID_REGEX

public static final java.lang.String EDAM_GUID_REGEX
GUIDs generated by the Evernote service will match the provided pattern

See Also:
Constant Field Values

EDAM_EMAIL_LEN_MIN

public static final int EDAM_EMAIL_LEN_MIN
The minimum length of any email address

See Also:
Constant Field Values

EDAM_EMAIL_LEN_MAX

public static final int EDAM_EMAIL_LEN_MAX
The maximum length of any email address

See Also:
Constant Field Values

EDAM_EMAIL_LOCAL_REGEX

public static final java.lang.String EDAM_EMAIL_LOCAL_REGEX
A regular expression that matches the part of an email address before the '@' symbol.

See Also:
Constant Field Values

EDAM_EMAIL_DOMAIN_REGEX

public static final java.lang.String EDAM_EMAIL_DOMAIN_REGEX
A regular expression that matches the part of an email address after the '@' symbol.

See Also:
Constant Field Values

EDAM_EMAIL_REGEX

public static final java.lang.String EDAM_EMAIL_REGEX
A regular expression that must match any email address given to Evernote. Email addresses must comply with RFC 2821 and 2822.

See Also:
Constant Field Values

EDAM_VAT_REGEX

public static final java.lang.String EDAM_VAT_REGEX
A regular expression that must match any VAT ID given to Evernote. ref https://en.wikipedia.org/wiki/VAT_identification_number ref https://my.safaribooksonline.com/book/programming/regular-expressions/9780596802837/4dot-validation-and-formatting/id2995136

See Also:
Constant Field Values

EDAM_TIMEZONE_LEN_MIN

public static final int EDAM_TIMEZONE_LEN_MIN
The minimum length of a timezone specification string

See Also:
Constant Field Values

EDAM_TIMEZONE_LEN_MAX

public static final int EDAM_TIMEZONE_LEN_MAX
The maximum length of a timezone specification string

See Also:
Constant Field Values

EDAM_TIMEZONE_REGEX

public static final java.lang.String EDAM_TIMEZONE_REGEX
Any timezone string given to Evernote must match the provided pattern. This permits either a locale-based standard timezone or a GMT offset. E.g.:

See Also:
Constant Field Values

EDAM_MIME_LEN_MIN

public static final int EDAM_MIME_LEN_MIN
The minimum length of any MIME type string given to Evernote

See Also:
Constant Field Values

EDAM_MIME_LEN_MAX

public static final int EDAM_MIME_LEN_MAX
The maximum length of any MIME type string given to Evernote

See Also:
Constant Field Values

EDAM_MIME_REGEX

public static final java.lang.String EDAM_MIME_REGEX
Any MIME type string given to Evernote must match the provided pattern. E.g.: image/gif

See Also:
Constant Field Values

EDAM_MIME_TYPE_GIF

public static final java.lang.String EDAM_MIME_TYPE_GIF
Canonical MIME type string for GIF image resources

See Also:
Constant Field Values

EDAM_MIME_TYPE_JPEG

public static final java.lang.String EDAM_MIME_TYPE_JPEG
Canonical MIME type string for JPEG image resources

See Also:
Constant Field Values

EDAM_MIME_TYPE_PNG

public static final java.lang.String EDAM_MIME_TYPE_PNG
Canonical MIME type string for PNG image resources

See Also:
Constant Field Values

EDAM_MIME_TYPE_WAV

public static final java.lang.String EDAM_MIME_TYPE_WAV
Canonical MIME type string for WAV audio resources

See Also:
Constant Field Values

EDAM_MIME_TYPE_MP3

public static final java.lang.String EDAM_MIME_TYPE_MP3
Canonical MIME type string for MP3 audio resources

See Also:
Constant Field Values

EDAM_MIME_TYPE_AMR

public static final java.lang.String EDAM_MIME_TYPE_AMR
Canonical MIME type string for AMR audio resources

See Also:
Constant Field Values

EDAM_MIME_TYPE_AAC

public static final java.lang.String EDAM_MIME_TYPE_AAC
Canonical MIME type string for AAC audio resources

See Also:
Constant Field Values

EDAM_MIME_TYPE_M4A

public static final java.lang.String EDAM_MIME_TYPE_M4A
Canonical MIME type string for MP4 audio resources

See Also:
Constant Field Values

EDAM_MIME_TYPE_MP4_VIDEO

public static final java.lang.String EDAM_MIME_TYPE_MP4_VIDEO
Canonical MIME type string for MP4 video resources

See Also:
Constant Field Values

EDAM_MIME_TYPE_INK

public static final java.lang.String EDAM_MIME_TYPE_INK
Canonical MIME type string for Evernote Ink resources

See Also:
Constant Field Values

EDAM_MIME_TYPE_PDF

public static final java.lang.String EDAM_MIME_TYPE_PDF
Canonical MIME type string for PDF resources

See Also:
Constant Field Values

EDAM_MIME_TYPE_DEFAULT

public static final java.lang.String EDAM_MIME_TYPE_DEFAULT
MIME type used for attachments of an unspecified type

See Also:
Constant Field Values

EDAM_MIME_TYPES

public static final java.util.Set<java.lang.String> EDAM_MIME_TYPES
The set of resource MIME types that are expected to be handled correctly by all of the major Evernote client applications.


EDAM_INDEXABLE_RESOURCE_MIME_TYPES

public static final java.util.Set<java.lang.String> EDAM_INDEXABLE_RESOURCE_MIME_TYPES
The set of MIME types that Evernote will parse and index for searching. With exception of images, and PDFs, which are handled in a different way.


EDAM_SEARCH_QUERY_LEN_MIN

public static final int EDAM_SEARCH_QUERY_LEN_MIN
The minimum length of a user search query string in Unicode chars

See Also:
Constant Field Values

EDAM_SEARCH_QUERY_LEN_MAX

public static final int EDAM_SEARCH_QUERY_LEN_MAX
The maximum length of a user search query string in Unicode chars

See Also:
Constant Field Values

EDAM_SEARCH_QUERY_REGEX

public static final java.lang.String EDAM_SEARCH_QUERY_REGEX
Search queries must match the provided pattern. This is used for both ad-hoc queries and SavedSearch.query fields. This excludes all control characters and line/paragraph separators.

See Also:
Constant Field Values

EDAM_HASH_LEN

public static final int EDAM_HASH_LEN
The exact length of a MD5 hash checksum, in binary bytes. This is the exact length that must be matched for any binary hash value.

See Also:
Constant Field Values

EDAM_USER_USERNAME_LEN_MIN

public static final int EDAM_USER_USERNAME_LEN_MIN
The minimum length of an Evernote username

See Also:
Constant Field Values

EDAM_USER_USERNAME_LEN_MAX

public static final int EDAM_USER_USERNAME_LEN_MAX
The maximum length of an Evernote username

See Also:
Constant Field Values

EDAM_USER_USERNAME_REGEX

public static final java.lang.String EDAM_USER_USERNAME_REGEX
Any Evernote User.username field must match this pattern. This restricts usernames to a format that could permit use as a domain name component. E.g. "username.whatever.evernote.com"

See Also:
Constant Field Values

EDAM_USER_NAME_LEN_MIN

public static final int EDAM_USER_NAME_LEN_MIN
Minimum length of the User.name field

See Also:
Constant Field Values

EDAM_USER_NAME_LEN_MAX

public static final int EDAM_USER_NAME_LEN_MAX
Maximum length of the User.name field

See Also:
Constant Field Values

EDAM_USER_NAME_REGEX

public static final java.lang.String EDAM_USER_NAME_REGEX
The User.name field must match this pattern, which excludes line endings and control characters.

See Also:
Constant Field Values

EDAM_TAG_NAME_LEN_MIN

public static final int EDAM_TAG_NAME_LEN_MIN
The minimum length of a Tag.name, in Unicode characters

See Also:
Constant Field Values

EDAM_TAG_NAME_LEN_MAX

public static final int EDAM_TAG_NAME_LEN_MAX
The maximum length of a Tag.name, in Unicode characters

See Also:
Constant Field Values

EDAM_TAG_NAME_REGEX

public static final java.lang.String EDAM_TAG_NAME_REGEX
All Tag.name fields must match this pattern. This excludes control chars, commas or line/paragraph separators. The string may not begin or end with whitespace.

See Also:
Constant Field Values

EDAM_NOTE_TITLE_LEN_MIN

public static final int EDAM_NOTE_TITLE_LEN_MIN
The minimum length of a Note.title, in Unicode characters

See Also:
Constant Field Values

EDAM_NOTE_TITLE_LEN_MAX

public static final int EDAM_NOTE_TITLE_LEN_MAX
The maximum length of a Note.title, in Unicode characters

See Also:
Constant Field Values

EDAM_NOTE_TITLE_REGEX

public static final java.lang.String EDAM_NOTE_TITLE_REGEX
All Note.title fields must match this pattern. This excludes control chars or line/paragraph separators. The string may not begin or end with whitespace.

See Also:
Constant Field Values

EDAM_NOTE_CONTENT_LEN_MIN

public static final int EDAM_NOTE_CONTENT_LEN_MIN
Minimum length of a Note.content field. Note.content fields must comply with the ENML DTD.

See Also:
Constant Field Values

EDAM_NOTE_CONTENT_LEN_MAX

public static final int EDAM_NOTE_CONTENT_LEN_MAX
Maximum length of a Note.content field Note.content fields must comply with the ENML DTD.

See Also:
Constant Field Values

EDAM_APPLICATIONDATA_NAME_LEN_MIN

public static final int EDAM_APPLICATIONDATA_NAME_LEN_MIN
Minimum length of an application name, which is the key in an applicationData LazyMap found in entities such as Resources and Notes.

See Also:
Constant Field Values

EDAM_APPLICATIONDATA_NAME_LEN_MAX

public static final int EDAM_APPLICATIONDATA_NAME_LEN_MAX
Maximum length of an application name, which is the key in an applicationData LazyMap found in entities such as Resources and Notes.

See Also:
Constant Field Values

EDAM_APPLICATIONDATA_VALUE_LEN_MIN

public static final int EDAM_APPLICATIONDATA_VALUE_LEN_MIN
Minimum length of an applicationData value in a LazyMap, found in entities such as Resources and Notes.

See Also:
Constant Field Values

EDAM_APPLICATIONDATA_VALUE_LEN_MAX

public static final int EDAM_APPLICATIONDATA_VALUE_LEN_MAX
Maximum length of an applicationData value in a LazyMap, found in entities such as Resources and Notes. Note, however, that the sum of the size of hte key and value is constrained by EDAM_APPLICATIONDATA_ENTRY_LEN_MAX, so the maximum length, in practice, depends upon the key value being used.

See Also:
Constant Field Values

EDAM_APPLICATIONDATA_ENTRY_LEN_MAX

public static final int EDAM_APPLICATIONDATA_ENTRY_LEN_MAX
The total length of an entry in an applicationData LazyMap, which is the sum of the length of the key and the value for the entry.

See Also:
Constant Field Values

EDAM_APPLICATIONDATA_NAME_REGEX

public static final java.lang.String EDAM_APPLICATIONDATA_NAME_REGEX
An application name must match this regex. An application name is the key portion of an entry in an applicationData map as found in entities such as Resources and Notes. Note that even if both the name and value regexes match, it is still necessary to check the sum of the lengths against EDAM_APPLICATIONDATA_ENTRY_LEN_MAX.

See Also:
Constant Field Values

EDAM_APPLICATIONDATA_VALUE_REGEX

public static final java.lang.String EDAM_APPLICATIONDATA_VALUE_REGEX
An applicationData map value must match this regex. Note that even if both the name and value regexes match, it is still necessary to check the sum of the lengths against EDAM_APPLICATIONDATA_ENTRY_LEN_MAX.

See Also:
Constant Field Values

EDAM_NOTEBOOK_NAME_LEN_MIN

public static final int EDAM_NOTEBOOK_NAME_LEN_MIN
The minimum length of a Notebook.name, in Unicode characters

See Also:
Constant Field Values

EDAM_NOTEBOOK_NAME_LEN_MAX

public static final int EDAM_NOTEBOOK_NAME_LEN_MAX
The maximum length of a Notebook.name, in Unicode characters

See Also:
Constant Field Values

EDAM_NOTEBOOK_NAME_REGEX

public static final java.lang.String EDAM_NOTEBOOK_NAME_REGEX
All Notebook.name fields must match this pattern. This excludes control chars or line/paragraph separators. The string may not begin or end with whitespace.

See Also:
Constant Field Values

EDAM_NOTEBOOK_STACK_LEN_MIN

public static final int EDAM_NOTEBOOK_STACK_LEN_MIN
The minimum length of a Notebook.stack, in Unicode characters

See Also:
Constant Field Values

EDAM_NOTEBOOK_STACK_LEN_MAX

public static final int EDAM_NOTEBOOK_STACK_LEN_MAX
The maximum length of a Notebook.stack, in Unicode characters

See Also:
Constant Field Values

EDAM_NOTEBOOK_STACK_REGEX

public static final java.lang.String EDAM_NOTEBOOK_STACK_REGEX
All Notebook.stack fields must match this pattern. This excludes control chars or line/paragraph separators. The string may not begin or end with whitespace.

See Also:
Constant Field Values

EDAM_PUBLISHING_URI_LEN_MIN

public static final int EDAM_PUBLISHING_URI_LEN_MIN
The minimum length of a public notebook URI component

See Also:
Constant Field Values

EDAM_PUBLISHING_URI_LEN_MAX

public static final int EDAM_PUBLISHING_URI_LEN_MAX
The maximum length of a public notebook URI component

See Also:
Constant Field Values

EDAM_PUBLISHING_URI_REGEX

public static final java.lang.String EDAM_PUBLISHING_URI_REGEX
A public notebook URI component must match the provided pattern

See Also:
Constant Field Values

EDAM_PUBLISHING_URI_PROHIBITED

public static final java.util.Set<java.lang.String> EDAM_PUBLISHING_URI_PROHIBITED
The set of strings that may not be used as a publishing URI


EDAM_PUBLISHING_DESCRIPTION_LEN_MIN

public static final int EDAM_PUBLISHING_DESCRIPTION_LEN_MIN
The minimum length of a Publishing.publicDescription field.

See Also:
Constant Field Values

EDAM_PUBLISHING_DESCRIPTION_LEN_MAX

public static final int EDAM_PUBLISHING_DESCRIPTION_LEN_MAX
The maximum length of a Publishing.publicDescription field.

See Also:
Constant Field Values

EDAM_PUBLISHING_DESCRIPTION_REGEX

public static final java.lang.String EDAM_PUBLISHING_DESCRIPTION_REGEX
Any public notebook's Publishing.publicDescription field must match this pattern. No control chars or line/paragraph separators, and can't start or end with whitespace.

See Also:
Constant Field Values

EDAM_SAVED_SEARCH_NAME_LEN_MIN

public static final int EDAM_SAVED_SEARCH_NAME_LEN_MIN
The minimum length of a SavedSearch.name field

See Also:
Constant Field Values

EDAM_SAVED_SEARCH_NAME_LEN_MAX

public static final int EDAM_SAVED_SEARCH_NAME_LEN_MAX
The maximum length of a SavedSearch.name field

See Also:
Constant Field Values

EDAM_SAVED_SEARCH_NAME_REGEX

public static final java.lang.String EDAM_SAVED_SEARCH_NAME_REGEX
SavedSearch.name fields must match this pattern. No control chars or line/paragraph separators, and can't start or end with whitespace.

See Also:
Constant Field Values

EDAM_USER_PASSWORD_LEN_MIN

public static final int EDAM_USER_PASSWORD_LEN_MIN
The minimum length of an Evernote user password

See Also:
Constant Field Values

EDAM_USER_PASSWORD_LEN_MAX

public static final int EDAM_USER_PASSWORD_LEN_MAX
The maximum length of an Evernote user password

See Also:
Constant Field Values

EDAM_USER_PASSWORD_REGEX

public static final java.lang.String EDAM_USER_PASSWORD_REGEX
Evernote user passwords must match this regular expression

See Also:
Constant Field Values

EDAM_BUSINESS_URI_LEN_MAX

public static final int EDAM_BUSINESS_URI_LEN_MAX
The maximum length of an Evernote Business URI

See Also:
Constant Field Values

EDAM_NOTE_TAGS_MAX

public static final int EDAM_NOTE_TAGS_MAX
The maximum number of Tags per Note

See Also:
Constant Field Values

EDAM_NOTE_RESOURCES_MAX

public static final int EDAM_NOTE_RESOURCES_MAX
The maximum number of Resources per Note

See Also:
Constant Field Values

EDAM_USER_TAGS_MAX

public static final int EDAM_USER_TAGS_MAX
Maximum number of Tags per account

See Also:
Constant Field Values

EDAM_BUSINESS_TAGS_MAX

public static final int EDAM_BUSINESS_TAGS_MAX
Maximum number of Tags per business account.

See Also:
Constant Field Values

EDAM_USER_SAVED_SEARCHES_MAX

public static final int EDAM_USER_SAVED_SEARCHES_MAX
Maximum number of SavedSearches per account

See Also:
Constant Field Values

EDAM_USER_NOTES_MAX

public static final int EDAM_USER_NOTES_MAX
Maximum number of Notes per user

See Also:
Constant Field Values

EDAM_BUSINESS_NOTES_MAX

public static final int EDAM_BUSINESS_NOTES_MAX
Maximum number of Notes per business account

See Also:
Constant Field Values

EDAM_USER_NOTEBOOKS_MAX

public static final int EDAM_USER_NOTEBOOKS_MAX
Maximum number of Notebooks per user

See Also:
Constant Field Values

EDAM_BUSINESS_NOTEBOOKS_MAX

public static final int EDAM_BUSINESS_NOTEBOOKS_MAX
Maximum number of Notebooks in a business account

See Also:
Constant Field Values

EDAM_USER_RECENT_MAILED_ADDRESSES_MAX

public static final int EDAM_USER_RECENT_MAILED_ADDRESSES_MAX
Maximum number of recent email addresses that are maintained (see UserAttributes.recentMailedAddresses)

See Also:
Constant Field Values

EDAM_USER_MAIL_LIMIT_DAILY_FREE

public static final int EDAM_USER_MAIL_LIMIT_DAILY_FREE
The number of emails of any type that can be sent by a user with a Free account from the service per day. If an email is sent to two different recipients, this counts as two emails.

See Also:
Constant Field Values

EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM

public static final int EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM
The number of emails of any type that can be sent by a user with a Premium account from the service per day. If an email is sent to two different recipients, this counts as two emails.

See Also:
Constant Field Values

EDAM_USER_UPLOAD_LIMIT_FREE

public static final long EDAM_USER_UPLOAD_LIMIT_FREE
The number of bytes of new data that may be uploaded to a Free user's account each month.

See Also:
Constant Field Values

EDAM_USER_UPLOAD_LIMIT_PREMIUM

public static final long EDAM_USER_UPLOAD_LIMIT_PREMIUM
The number of bytes of new data that may be uploaded to a Premium user's account each month.

See Also:
Constant Field Values

EDAM_USER_UPLOAD_LIMIT_BUSINESS

public static final long EDAM_USER_UPLOAD_LIMIT_BUSINESS
The number of bytes of new data that may be uploaded to a Business user's personal account each month. Note that content uploaded into the Business notebooks by the user does not count against this limit.

See Also:
Constant Field Values

EDAM_NOTE_SIZE_MAX_FREE

public static final int EDAM_NOTE_SIZE_MAX_FREE
Maximum total size of a Note that can be added to a Free account. The size of a note is calculated as: ENML content length (in Unicode characters) plus the sum of all resource sizes (in bytes).

See Also:
Constant Field Values

EDAM_NOTE_SIZE_MAX_PREMIUM

public static final int EDAM_NOTE_SIZE_MAX_PREMIUM
Maximum total size of a Note that can be added to a Premium account. The size of a note is calculated as: ENML content length (in Unicode characters) plus the sum of all resource sizes (in bytes).

See Also:
Constant Field Values

EDAM_RESOURCE_SIZE_MAX_FREE

public static final int EDAM_RESOURCE_SIZE_MAX_FREE
Maximum size of a resource, in bytes, for Free accounts

See Also:
Constant Field Values

EDAM_RESOURCE_SIZE_MAX_PREMIUM

public static final int EDAM_RESOURCE_SIZE_MAX_PREMIUM
Maximum size of a resource, in bytes, for Premium accounts

See Also:
Constant Field Values

EDAM_USER_LINKED_NOTEBOOK_MAX

public static final int EDAM_USER_LINKED_NOTEBOOK_MAX
Maximum number of linked notebooks per account, for a free account.

See Also:
Constant Field Values

EDAM_USER_LINKED_NOTEBOOK_MAX_PREMIUM

public static final int EDAM_USER_LINKED_NOTEBOOK_MAX_PREMIUM
Maximum number of linked notebooks per account, for a premium account. Users who are part of an active business are also covered under "premium".

See Also:
Constant Field Values

EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX

public static final int EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX
Maximum number of shared notebooks per notebook

See Also:
Constant Field Values

EDAM_NOTE_CONTENT_CLASS_LEN_MIN

public static final int EDAM_NOTE_CONTENT_CLASS_LEN_MIN
The minimum length of the content class attribute of a note.

See Also:
Constant Field Values

EDAM_NOTE_CONTENT_CLASS_LEN_MAX

public static final int EDAM_NOTE_CONTENT_CLASS_LEN_MAX
The maximum length of the content class attribute of a note.

See Also:
Constant Field Values

EDAM_NOTE_CONTENT_CLASS_REGEX

public static final java.lang.String EDAM_NOTE_CONTENT_CLASS_REGEX
The regular expression that the content class of a note must match to be valid.

See Also:
Constant Field Values

EDAM_HELLO_APP_CONTENT_CLASS_PREFIX

public static final java.lang.String EDAM_HELLO_APP_CONTENT_CLASS_PREFIX
The content class prefix used for all notes created by Evernote Hello. This prefix can be used to assemble individual content class strings, or can be used to create a wildcard search to get all notes created by Hello. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.

See Also:
Constant Field Values

EDAM_FOOD_APP_CONTENT_CLASS_PREFIX

public static final java.lang.String EDAM_FOOD_APP_CONTENT_CLASS_PREFIX
The content class prefix used for all notes created by Evernote Food. This prefix can be used to assemble individual content class strings, or can be used to create a wildcard search to get all notes created by Food. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.

See Also:
Constant Field Values

EDAM_CONTENT_CLASS_HELLO_ENCOUNTER

public static final java.lang.String EDAM_CONTENT_CLASS_HELLO_ENCOUNTER
The content class prefix used for structured notes created by Evernote Hello that represents an encounter with a person. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.

See Also:
Constant Field Values

EDAM_CONTENT_CLASS_HELLO_PROFILE

public static final java.lang.String EDAM_CONTENT_CLASS_HELLO_PROFILE
The content class prefix used for structured notes created by Evernote Hello that represents the user's profile. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.

See Also:
Constant Field Values

EDAM_CONTENT_CLASS_FOOD_MEAL

public static final java.lang.String EDAM_CONTENT_CLASS_FOOD_MEAL
The content class prefix used for structured notes created by Evernote Food that captures the experience of a particular meal. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.

See Also:
Constant Field Values

EDAM_CONTENT_CLASS_SKITCH_PREFIX

public static final java.lang.String EDAM_CONTENT_CLASS_SKITCH_PREFIX
The content class prefix used for structured notes created by Evernote Skitch. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.

See Also:
Constant Field Values

EDAM_CONTENT_CLASS_SKITCH

public static final java.lang.String EDAM_CONTENT_CLASS_SKITCH
The content class value used for structured image notes created by Evernote Skitch.

See Also:
Constant Field Values

EDAM_CONTENT_CLASS_SKITCH_PDF

public static final java.lang.String EDAM_CONTENT_CLASS_SKITCH_PDF
The content class value used for structured PDF notes created by Evernote Skitch.

See Also:
Constant Field Values

EDAM_CONTENT_CLASS_PENULTIMATE_PREFIX

public static final java.lang.String EDAM_CONTENT_CLASS_PENULTIMATE_PREFIX
The content class prefix used for structured notes created by Evernote Penultimate. When performing a wildcard search via filtered sync chunks or search strings, the * character must be appended to this constant.

See Also:
Constant Field Values

EDAM_CONTENT_CLASS_PENULTIMATE_NOTEBOOK

public static final java.lang.String EDAM_CONTENT_CLASS_PENULTIMATE_NOTEBOOK
The content class value used for structured notes created by Evernote Penultimate that represents a Penultimate notebook.

See Also:
Constant Field Values

EDAM_RELATED_PLAINTEXT_LEN_MIN

public static final int EDAM_RELATED_PLAINTEXT_LEN_MIN
The minimum length of the plain text in a findRelated query, assuming that plaintext is being provided.

See Also:
Constant Field Values

EDAM_RELATED_PLAINTEXT_LEN_MAX

public static final int EDAM_RELATED_PLAINTEXT_LEN_MAX
The maximum length of the plain text in a findRelated query, assuming that plaintext is being provided.

See Also:
Constant Field Values

EDAM_RELATED_MAX_NOTES

public static final int EDAM_RELATED_MAX_NOTES
The maximum number of notes that will be returned from a findRelated() query.

See Also:
Constant Field Values

EDAM_RELATED_MAX_NOTEBOOKS

public static final int EDAM_RELATED_MAX_NOTEBOOKS
The maximum number of notebooks that will be returned from a findRelated() query.

See Also:
Constant Field Values

EDAM_RELATED_MAX_TAGS

public static final int EDAM_RELATED_MAX_TAGS
The maximum number of tags that will be returned from a findRelated() query.

See Also:
Constant Field Values

EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN

public static final int EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN
The minimum length, in Unicode characters, of a description for a business notebook.

See Also:
Constant Field Values

EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX

public static final int EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX
The maximum length, in Unicode characters, of a description for a business notebook.

See Also:
Constant Field Values

EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX

public static final java.lang.String EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX
All business notebook descriptions must match this pattern. This excludes control chars or line/paragraph separators. The string may not begin or end with whitespace.

See Also:
Constant Field Values

EDAM_BUSINESS_PHONE_NUMBER_LEN_MAX

public static final int EDAM_BUSINESS_PHONE_NUMBER_LEN_MAX
The maximum length of a business phone number.

See Also:
Constant Field Values

EDAM_PREFERENCE_NAME_LEN_MIN

public static final int EDAM_PREFERENCE_NAME_LEN_MIN
Minimum length of a preference name

See Also:
Constant Field Values

EDAM_PREFERENCE_NAME_LEN_MAX

public static final int EDAM_PREFERENCE_NAME_LEN_MAX
Maximum length of a preference name

See Also:
Constant Field Values

EDAM_PREFERENCE_VALUE_LEN_MIN

public static final int EDAM_PREFERENCE_VALUE_LEN_MIN
Minimum length of a preference value

See Also:
Constant Field Values

EDAM_PREFERENCE_VALUE_LEN_MAX

public static final int EDAM_PREFERENCE_VALUE_LEN_MAX
Maximum length of a preference value

See Also:
Constant Field Values

EDAM_MAX_PREFERENCES

public static final int EDAM_MAX_PREFERENCES
Maximum number of name/value pairs allowed

See Also:
Constant Field Values

EDAM_MAX_VALUES_PER_PREFERENCE

public static final int EDAM_MAX_VALUES_PER_PREFERENCE
Maximum number of values per preference name

See Also:
Constant Field Values

EDAM_PREFERENCE_NAME_REGEX

public static final java.lang.String EDAM_PREFERENCE_NAME_REGEX
A preference name must match this regex.

See Also:
Constant Field Values

EDAM_PREFERENCE_VALUE_REGEX

public static final java.lang.String EDAM_PREFERENCE_VALUE_REGEX
A preference value must match this regex.

See Also:
Constant Field Values

EDAM_PREFERENCE_SHORTCUTS

public static final java.lang.String EDAM_PREFERENCE_SHORTCUTS
The name of the preferences entry that contains shortcuts.

See Also:
Constant Field Values

EDAM_PREFERENCE_SHORTCUTS_MAX_VALUES

public static final int EDAM_PREFERENCE_SHORTCUTS_MAX_VALUES
The maximum number of shortcuts that a user may have.

See Also:
Constant Field Values

EDAM_DEVICE_ID_LEN_MAX

public static final int EDAM_DEVICE_ID_LEN_MAX
Maximum length of the device identifier string associated with long sessions.

See Also:
Constant Field Values

EDAM_DEVICE_ID_REGEX

public static final java.lang.String EDAM_DEVICE_ID_REGEX
Regular expression for device identifier strings associated with long sessions.

See Also:
Constant Field Values

EDAM_DEVICE_DESCRIPTION_LEN_MAX

public static final int EDAM_DEVICE_DESCRIPTION_LEN_MAX
Maximum length of the device description string associated with long sessions.

See Also:
Constant Field Values

EDAM_DEVICE_DESCRIPTION_REGEX

public static final java.lang.String EDAM_DEVICE_DESCRIPTION_REGEX
Regular expression for device description strings associated with long sessions.

See Also:
Constant Field Values

EDAM_SEARCH_SUGGESTIONS_MAX

public static final int EDAM_SEARCH_SUGGESTIONS_MAX
Maximum number of search suggestions that can be returned

See Also:
Constant Field Values

EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MAX

public static final int EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MAX
Maximum length of the search suggestion prefix

See Also:
Constant Field Values

EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MIN

public static final int EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MIN
Minimum length of the search suggestion prefix

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()