View Javadoc

1   /*
2    * $Id$
3    */
4   
5   package org.apache.maven.scm.providers.vss.settings;
6   
7     //---------------------------------/
8    //- Imported classes and packages -/
9   //---------------------------------/
10  
11  import java.util.Date;
12  
13  /**
14   * Class Settings.
15   * 
16   * @version $Revision$ $Date$
17   */
18  public class Settings implements java.io.Serializable {
19  
20  
21        //--------------------------/
22       //- Class/Member Variables -/
23      //--------------------------/
24  
25      /**
26       * Visual Source Safe path.
27       */
28      private String vssDirectory;
29  
30  
31        //-----------/
32       //- Methods -/
33      //-----------/
34  
35      /**
36       * Get visual Source Safe path.
37       * 
38       * @return String
39       */
40      public String getVssDirectory()
41      {
42          return this.vssDirectory;
43      } //-- String getVssDirectory() 
44  
45      /**
46       * Set visual Source Safe path.
47       * 
48       * @param vssDirectory
49       */
50      public void setVssDirectory(String vssDirectory)
51      {
52          this.vssDirectory = vssDirectory;
53      } //-- void setVssDirectory(String) 
54  
55  
56      private String modelEncoding = "UTF-8";
57  
58      /**
59       * Set an encoding used for reading/writing the model.
60       *
61       * @param modelEncoding the encoding used when reading/writing the model.
62       */
63      public void setModelEncoding( String modelEncoding )
64      {
65          this.modelEncoding = modelEncoding;
66      }
67  
68      /**
69       * @return the current encoding used when reading/writing this model.
70       */
71      public String getModelEncoding()
72      {
73          return modelEncoding;
74      }
75  }