1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 package eteg.sinon.core;
24
25 /***
26 * Class that represents the storage configuration of a page.
27 * It's only property is <code>filename</code>. It contains the name
28 * of the file at which the downloaded page will be written.
29 *
30 * @author <a href="mailto:thiagohp at users.sourceforge.net">Thiago H. de Paula Figueiredo</a>
31 * @author Last modified by $Author: thiagohp $
32 * @version $Revision: 1.2 $
33 */
34 public class PageStorageConfiguration {
35
36 /***
37 * Name
38 * of the file at which the downloaded page will be written.
39 */
40 private String filename;
41
42 /***
43 * Contructor without parameters.
44 */
45 public PageStorageConfiguration() {
46 filename = null;
47 }
48
49 /***
50 * Returns the value of the <code>filename</code> property.
51 * @return a <code>String</code>.
52 */
53 public String getFilename() {
54 return filename;
55 }
56
57 /***
58 * Sets the value of the <code>filename</code> property.
59 * @param filename the new <code>filename</code> value.
60 */
61 public void setFilename(String filename) {
62 this.filename = filename;
63 }
64
65 }