1 /**
2 * Copyright 2010-2013 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.kuali.common.util.property;
17
18 import java.io.File;
19
20 public class DefaultPropertyStoreContext extends DefaultPropertyContext implements PropertyStoreContext {
21
22 // The file to store properties to
23 File file;
24
25 // If not null, include this as a comment in the properties file
26 String comment;
27
28 String encoding;
29
30 @Override
31 public File getFile() {
32 return file;
33 }
34
35 public void setFile(File file) {
36 this.file = file;
37 }
38
39 @Override
40 public String getComment() {
41 return comment;
42 }
43
44 public void setComment(String comment) {
45 this.comment = comment;
46 }
47
48 @Override
49 public String getEncoding() {
50 return encoding;
51 }
52
53 public void setEncoding(String encoding) {
54 this.encoding = encoding;
55 }
56 }