public class CalendarExporter extends Object
Constructor and Description |
---|
CalendarExporter() |
Modifier and Type | Method and Description |
---|---|
void |
exportICal(File intothis,
Program[] list,
Properties settings)
Exports a list of Programs into a iCal-File
|
void |
exportVCal(File intothis,
Program[] list,
Properties settings)
Exports a list of Programs into a vCal-File
|
Calendar |
getEndAsCalendar(Program p)
Gets the End-Time as Calendar
|
Calendar |
getStartAsCalendar(Program p)
Gets the Start-Time as Calendar
|
String |
noBreaks(String b)
Replaces Newline-Characters with ' '
|
public void exportVCal(File intothis, Program[] list, Properties settings)
intothis
- into this Filelist
- List to exportnulltime
- Lenght of Programs = 0?public void exportICal(File intothis, Program[] list, Properties settings)
intothis
- into this Filelist
- List to exportnulltime
- Lenght of Programs = 0?public String noBreaks(String b)
b
- replace herepublic Calendar getStartAsCalendar(Program p)
p
- ProgramTV-Browser 2.2.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)