[Yanel-commits] rev 21299 -
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:05:49 CET 2006
Author: michi
Date: 2006-12-31 14:05:48 +0100 (Sun, 31 Dec 2006)
New Revision: 21299
Modified:
public/yanel/trunk/src/contributions/resources/calendar/src/java/org/wyona/yanel/impl/resources/CalendarResource.java
Log:
save data refactored
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:20 UTC (rev 21298)
+++ 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)
@@ -157,6 +157,7 @@
*/
public void write(InputStream in) throws Exception {
log.warn("Not implemented yet!");
+ log.warn("TODO: Parse ICS and write events as XML into repository ...");
}
/**
@@ -171,8 +172,9 @@
*
*/
public OutputStream getOutputStream() throws Exception {
- log.warn("TODO: Parse ICS and write events as XML into repository ...");
- return getRealm().getRepository().getOutputStream(new org.wyona.yarep.core.Path("/calendarTODO.ics"));
+ log.warn("Do not use this method but rather write(InputStream)!");
+ return null;
+ //return getRealm().getRepository().getOutputStream(new org.wyona.yarep.core.Path("/calendarTODO.ics"));
}
/**
More information about the Yanel-commits
mailing list