Class ImportIcalManager
- java.lang.Object
-
- org.silverpeas.core.web.calendar.ical.ImportIcalManager
-
public class ImportIcalManager extends Object
-
-
Constructor Summary
Constructors Constructor Description ImportIcalManager(AgendaSessionController agendaSessionController)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getCharset()
String
importIcalAgenda(File file)
IMPORT SilverpeasCalendar in Ical formatstatic void
setCharset(String aCharset)
static String
transformStringForBD(String sText)
This method transforms a string to replace the 'special' caracters to store them correctly in the database
-
-
-
Constructor Detail
-
ImportIcalManager
public ImportIcalManager(AgendaSessionController agendaSessionController)
-
-
Method Detail
-
setCharset
public static void setCharset(String aCharset)
-
getCharset
public static String getCharset()
-
importIcalAgenda
public String importIcalAgenda(File file)
IMPORT SilverpeasCalendar in Ical format- Parameters:
file
-- Returns:
-
transformStringForBD
public static String transformStringForBD(String sText)
This method transforms a string to replace the 'special' caracters to store them correctly in the database- Parameters:
sText
- a single text which may contains 'special' caracters- Returns:
- Returns the transformed text without specific codes.
-
-