[Yanel-commits] rev 21300 -
public/yanel/trunk/src/contributions/resources/calendar/src/java/org/wyona/yanel/impl/resources
michi at wyona.com
michi at wyona.com
Sun Dec 31 14:18:16 CET 2006
Author: michi
Date: 2006-12-31 14:18:15 +0100 (Sun, 31 Dec 2006)
New Revision: 21300
Modified:
public/yanel/trunk/src/contributions/resources/calendar/src/java/org/wyona/yanel/impl/resources/CalendarResource.java
Log:
parsing of ICS started
Modified: public/yanel/trunk/src/contributions/resources/calendar/src/java/org/wyona/yanel/impl/resources/CalendarResource.java
===================================================================
--- public/yanel/trunk/src/contributions/resources/calendar/src/java/org/wyona/yanel/impl/resources/CalendarResource.java 2006-12-31 13:05:48 UTC (rev 21299)
+++ public/yanel/trunk/src/contributions/resources/calendar/src/java/org/wyona/yanel/impl/resources/CalendarResource.java 2006-12-31 13:18:15 UTC (rev 21300)
@@ -153,11 +153,16 @@
}
/**
- *
+ * Parse ICS and write events as XML into repository
*/
public void write(InputStream in) throws Exception {
log.warn("Not implemented yet!");
log.warn("TODO: Parse ICS and write events as XML into repository ...");
+ java.io.BufferedReader br = new java.io.BufferedReader(new java.io.InputStreamReader(in));
+ String line;
+ while ((line = br.readLine()) != null) {
+ log.error("DEBUG: Line: " + line);
+ }
}
/**
More information about the Yanel-commits
mailing list