Class AbstractLocalObjectCollection<T>
- java.lang.Object
-
- net.fortuna.ical4j.connector.local.AbstractLocalObjectCollection<T>
-
- All Implemented Interfaces:
ObjectCollection<T>
- Direct Known Subclasses:
LocalCalendarCollection
,LocalCardCollection
public abstract class AbstractLocalObjectCollection<T> extends Object implements ObjectCollection<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractLocalObjectCollection(File root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
getDisplayName()
protected File
getRoot()
String[]
getSupportedComponentTypes()
Calendar
getTimeZone()
void
setDescription(String description)
void
setDisplayName(String displayName)
void
setSupportedComponents(String[] supportedComponents)
void
setTimeZone(Calendar timezone)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.fortuna.ical4j.connector.ObjectCollection
getComponents
-
-
-
-
Constructor Detail
-
AbstractLocalObjectCollection
public AbstractLocalObjectCollection(File root)
-
-
Method Detail
-
getRoot
protected File getRoot()
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceObjectCollection<T>
- Returns:
- the collection name
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceObjectCollection<T>
- Returns:
- the collection description
-
getSupportedComponentTypes
public String[] getSupportedComponentTypes()
-
getTimeZone
public Calendar getTimeZone()
-
setDisplayName
public void setDisplayName(String displayName) throws IOException
- Throws:
IOException
-
setDescription
public void setDescription(String description) throws IOException
- Throws:
IOException
-
setSupportedComponents
public void setSupportedComponents(String[] supportedComponents) throws IOException
- Throws:
IOException
-
setTimeZone
public void setTimeZone(Calendar timezone) throws IOException
- Throws:
IOException
-
-