Package org.ryu22e.nico2cal.service

Examples of org.ryu22e.nico2cal.service.CalendarCondition


                memcacheKey +=
                        "&keyword=" + URLEncoder.encode(keyword, "UTF-8");
            }
            Object cache = Memcache.get(memcacheKey);
            if (cache == null) {
                CalendarCondition condition = new CalendarCondition();
                if (keyword != null) {
                    // 半角スペースで区切られているキーワードは分割して配列にする。
                    condition.setKeywords(Arrays.asList(keyword.split(" ")));
                }
                condition.setStartDate(startWeek.toDate());

                Calendar calendar = calendarService.getCalendar(condition);
                response.getWriter().write(calendar.toString());

                // MemcacheにiCalendarの内容をキャッシュする。
View Full Code Here

TOP

Related Classes of org.ryu22e.nico2cal.service.CalendarCondition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.