29bb29e2a97fd7147bef0ea8108329f56566c851
[vamsas.git] / src / uk / ac / vamsas / client / simpleclient / ListFile.java
1 /**
2  * 
3  */
4 package uk.ac.vamsas.client.simpleclient;
5
6 import java.io.File;
7
8
9 /**
10  * base class for generic list storage and retrieval operations from a locked IO file
11  *  TODO: LATER: generalize for all list storage and retrieval operations 
12  *  (pull-up from ClientsFile object)
13  */
14 public class ListFile extends SessionFile {
15
16   /**
17    * @param file
18    */
19   public ListFile(File file) throws java.io.IOException {
20     super(file);
21     if (!this.sessionFile.exists())
22       this.sessionFile.createNewFile();
23   }
24
25 }