1
2
3
4
5
6
7 package net.sf.exorcist.dbe.impl;
8
9 import java.io.IOException;
10
11 import net.sf.exorcist.api.ContentException;
12 import net.sf.exorcist.api.ContentState;
13 import net.sf.exorcist.dbe.ImportService;
14
15 import org.dbe.servent.Adapter;
16 import org.dbe.servent.ServiceContext;
17
18
19 /***
20 * @author Jukka Zitting
21 *
22 * TODO To change the template for this generated type comment go to
23 * Window - Preferences - Java - Code Style - Code Templates
24 */
25 public class PrintImportService implements Adapter, ImportService {
26
27
28
29
30 public void init(ServiceContext context) {
31 }
32
33
34
35
36 public void destroy() {
37 }
38
39
40
41
42 public void importContent(String key, ContentState content)
43 throws ContentException {
44 System.out.println(key);
45 }
46
47 }