View Javadoc

1   package org.astrogrid.jes.util;
2   
3   import java.io.File;
4   
5   /***
6    * A working directory for the parts of JES that write records in files.
7    * Some major components of JES need to be passed the location of a
8    * working directory on construction. A java.io.File would express this
9    * well enough, but the components are managed by PicoContainer which
10   * relies on constructor arguments being in interface-implementation pairs.
11   *
12   * @author Guy Rixon
13   */
14  public interface BaseDirectory {
15    
16    /***
17     * Gets the directory.
18     * @return The directory.
19     */
20    public File getDir();
21  }