Enum ResourceType
- java.lang.Object
-
- java.lang.Enum<ResourceType>
-
- net.fortuna.ical4j.connector.dav.enums.ResourceType
-
- All Implemented Interfaces:
Serializable,Comparable<ResourceType>
public enum ResourceType extends Enum<ResourceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADRESSBOOKCALENDARCALENDAR_PROXY_READCALENDAR_PROXY_WRITECOLLECTIONDROPBOX_HOMEFREE_BUSY_URLNOTIFICATIONSCHEDULE_INBOXSCHEDULE_OUTBOXSHARE_OWNERSUBSCRIBED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()static ArrayList<String>descriptions()static ResourceTypefindByDescription(String value)static ResourceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ResourceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CALENDAR
public static final ResourceType CALENDAR
-
FREE_BUSY_URL
public static final ResourceType FREE_BUSY_URL
-
SCHEDULE_OUTBOX
public static final ResourceType SCHEDULE_OUTBOX
-
NOTIFICATION
public static final ResourceType NOTIFICATION
-
DROPBOX_HOME
public static final ResourceType DROPBOX_HOME
-
CALENDAR_PROXY_WRITE
public static final ResourceType CALENDAR_PROXY_WRITE
-
CALENDAR_PROXY_READ
public static final ResourceType CALENDAR_PROXY_READ
-
SHARE_OWNER
public static final ResourceType SHARE_OWNER
-
ADRESSBOOK
public static final ResourceType ADRESSBOOK
-
SUBSCRIBED
public static final ResourceType SUBSCRIBED
-
COLLECTION
public static final ResourceType COLLECTION
-
SCHEDULE_INBOX
public static final ResourceType SCHEDULE_INBOX
-
-
Method Detail
-
values
public static ResourceType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ResourceType c : ResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
description
public String description()
-
findByDescription
public static ResourceType findByDescription(String value)
-
-