001 /**
002 * Copyright 2010-2012 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package org.kuali.common.util.property;
017
018 import java.io.File;
019
020 public class DefaultPropertyStoreContext extends DefaultPropertyContext implements PropertyStoreContext {
021
022 // The file to store properties to
023 File file;
024
025 // If not null, include this as a comment in the properties file
026 String comment;
027
028 String encoding;
029
030 @Override
031 public File getFile() {
032 return file;
033 }
034
035 public void setFile(File file) {
036 this.file = file;
037 }
038
039 @Override
040 public String getComment() {
041 return comment;
042 }
043
044 public void setComment(String comment) {
045 this.comment = comment;
046 }
047
048 @Override
049 public String getEncoding() {
050 return encoding;
051 }
052
053 public void setEncoding(String encoding) {
054 this.encoding = encoding;
055 }
056 }