001    /**
002     * Copyright 2010-2013 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    /**
021     * @deprecated
022     */
023    @Deprecated
024    public class DefaultPropertyStoreContext extends DefaultPropertyContext implements PropertyStoreContext {
025    
026            // The file to store properties to
027            File file;
028    
029            // If not null, include this as a comment in the properties file
030            String comment;
031    
032            String encoding;
033    
034            @Override
035            public File getFile() {
036                    return file;
037            }
038    
039            public void setFile(File file) {
040                    this.file = file;
041            }
042    
043            @Override
044            public String getComment() {
045                    return comment;
046            }
047    
048            public void setComment(String comment) {
049                    this.comment = comment;
050            }
051    
052            @Override
053        public String getEncoding() {
054                    return encoding;
055            }
056    
057            public void setEncoding(String encoding) {
058                    this.encoding = encoding;
059            }
060    }