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.jdbc.convert; 017 018 import java.io.File; 019 020 public class ConversionContext { 021 022 String delimiter = "/"; 023 String encoding = "UTF-8"; 024 int maxLength = 1024 * 50; 025 int maxCount = 50; 026 File oldFile; 027 File newFile; 028 029 public String getDelimiter() { 030 return delimiter; 031 } 032 033 public void setDelimiter(String delimiter) { 034 this.delimiter = delimiter; 035 } 036 037 public String getEncoding() { 038 return encoding; 039 } 040 041 public void setEncoding(String encoding) { 042 this.encoding = encoding; 043 } 044 045 public int getMaxLength() { 046 return maxLength; 047 } 048 049 public void setMaxLength(int maxLength) { 050 this.maxLength = maxLength; 051 } 052 053 public int getMaxCount() { 054 return maxCount; 055 } 056 057 public void setMaxCount(int maxCount) { 058 this.maxCount = maxCount; 059 } 060 061 public File getOldFile() { 062 return oldFile; 063 } 064 065 public void setOldFile(File oldFile) { 066 this.oldFile = oldFile; 067 } 068 069 public File getNewFile() { 070 return newFile; 071 } 072 073 public void setNewFile(File newFile) { 074 this.newFile = newFile; 075 } 076 077 }