Package com.groiss.cal
Interface CalFormat
public interface CalFormat
CalEvent
import/export format-
Method Summary
Modifier and TypeMethodDescriptionexportEvents
(Collection<CalEvent> calDates) A representable name for the ParserMust throw a exception if the given file is not parseable!
-
Method Details
-
exportEvents
- Parameters:
calDates
- A list of DateEntrys- Returns:
- the export string
- Throws:
Exception
-
getCalendarFormatName
String getCalendarFormatName()A representable name for the Parser- Returns:
- the format's name
-
getContentType
String getContentType()- Returns:
- the content-type associated with this format
-
importEvents
Must throw a exception if the given file is not parseable!- Parameters:
is
- theInputStream
- Returns:
- all imported events
- Throws:
Exception
-