TV-Browser 2.7.5 API

calendarexportplugin.utils
Class CalendarToolbox

java.lang.Object
  extended by calendarexportplugin.utils.CalendarToolbox

public class CalendarToolbox
extends Object

This Class is a ToolBox for the iCal/vCal exporter

Author:
bodo

Constructor Summary
CalendarToolbox()
           
 
Method Summary
static String cleanFilename(String fileName)
          Remove special Chars from Filename
static Calendar getEndAsCalendar(Program p)
          Gets the End-Time as Calendar
static Calendar getStartAsCalendar(Program p)
          Gets the Start-Time as Calendar
static String noBreaks(String b)
          Replaces Newline-Characters with ' '
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarToolbox

public CalendarToolbox()
Method Detail

noBreaks

public static String noBreaks(String b)
Replaces Newline-Characters with ' '

Parameters:
b - replace here
Returns:
String without Newline

getStartAsCalendar

public static Calendar getStartAsCalendar(Program p)
Gets the Start-Time as Calendar

Parameters:
p - Program
Returns:
Start-Time

getEndAsCalendar

public static Calendar getEndAsCalendar(Program p)
Gets the End-Time as Calendar

Parameters:
p - Program
Returns:
End-Time

cleanFilename

public static String cleanFilename(String fileName)
Remove special Chars from Filename

Parameters:
fileName - Filename to celan
Returns:
cleaned Filename
Since:
2.62

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)