Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: comiccollection/ComicAccesser.java


1   package comiccollection;
2   
3   import java.util.Hashtable;
4   import java.util.ArrayList;
5   import java.util.GregorianCalendar;
6   
7   /**
8    * This allows searching for, reading, writing etc. comics to/from an unspecified source
9    */
10  public interface ComicAccesser{
11    void prepare(Hashtable setupData) throws Exception;
12    ArrayList getComicList() throws Exception;
13    ComicStrip getStrip(ComicObject comic, GregorianCalendar date, int offset, boolean online) throws Exception;
14    ComicStrip getStrip(int id) throws Exception;
15    int createStrip(ComicStrip strip, ComicObject comic) throws Exception;
16    int createImage(ComicImage image, int strip) throws Exception;
17    void writeStrip(int id, String title, String desc) throws Exception;
18    void execQuery(String query) throws Exception;
19    ArrayList doSearch(String search) throws Exception;
20  }