View Javadoc

1   /*
2    * Created on 15.6.2005
3    *
4    * TODO To change the template for this generated file go to
5    * Window - Preferences - Java - Code Style - Code Templates
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  	/* (non-Javadoc)
28  	 * @see org.dbe.servent.Adapter#init(org.dbe.servent.ServiceContext)
29  	 */
30  	public void init(ServiceContext context) {
31  	}
32  
33  	/* (non-Javadoc)
34  	 * @see org.dbe.servent.Adapter#destroy()
35  	 */
36  	public void destroy() {
37  	}
38  
39  	/* (non-Javadoc)
40  	 * @see fi.yukatan.dbe.exorcist.ImportService#importContent(java.lang.String, fi.yukatan.exorcist.ContentState)
41  	 */
42  	public void importContent(String key, ContentState content)
43  			throws ContentException {
44  		System.out.println(key);
45  	}
46  
47  }