View Javadoc

1   package org.astrogrid.slinger.myspace.it05;
2   
3   /***
4    * ManagerCodes.java
5    *
6    * <p>
7    * The <code>ManagerCodes</code> class specifies the permitted values
8    * for flags occurring as arguments in the <code>Manager</code>
9    * interface.
10   * </p>
11   */
12  
13  public interface ManagerCodes
14  {
15  //
16  //If the putString, putBytes or putUri methods attempt to import a file
17  //using a name which already exists, the following flags indicate how
18  //the existing entry is to be dispatched.
19  
20  /***
21   * Leave existing entry untouched and report error.
22   */
23     public static final int LEAVE = 1;
24  
25  /***
26   * Overwrite the existing entry with the new one.
27   */
28     public static final int OVERWRITE = 2;
29  
30  /***
31   * Append the new entry to the old one.
32   */
33     public static final int APPEND = 3;
34  
35  }