View Javadoc

1   /**
2    * 
3    */
4   package sk.stuba.fiit.foo07.genex.export;
5   
6   import java.io.IOException;
7   import java.sql.Connection;
8   import java.util.ArrayList;
9   
10  import sk.stuba.fiit.foo07.genex.beans.Question;
11  import sk.stuba.fiit.foo07.genex.exceptions.ExportException;
12  
13  /**
14   * @author Radu
15   * 
16   */
17  public abstract class Export {
18      private String outputFilename;
19  
20      public void exportTest(Integer testId, Connection con) throws IOException,
21              ExportException {
22  
23      }
24  
25      public void exportTests(ArrayList<Integer> testId, Connection con)
26              throws IOException, ExportException {
27  
28      }
29  
30      public void exportQuestions(ArrayList<Question> questions, Connection con)
31              throws IOException, ExportException {
32  
33      }
34  
35      public String getOutputFilename() {
36          return outputFilename;
37      }
38  
39      public void setOutputFilename(String outputFilename) {
40          this.outputFilename = outputFilename;
41      }
42  
43  }