1 /** 2 This file is part of GoldenGate Project (named also GoldenGate or GG). 3 4 Copyright 2009, Frederic Bregier, and individual contributors by the @author 5 tags. See the COPYRIGHT.txt in the distribution for a full listing of 6 individual contributors. 7 8 All GoldenGate Project is free software: you can redistribute it and/or 9 modify it under the terms of the GNU General Public License as published 10 by the Free Software Foundation, either version 3 of the License, or 11 (at your option) any later version. 12 13 GoldenGate is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with GoldenGate . If not, see <http://www.gnu.org/licenses/>. 20 */ 21 package goldengate.common.file; 22 23 /** 24 * Interface for Option support (mainly inspired for MLSx FTP command) 25 * 26 * @author Frederic Bregier 27 * 28 */ 29 public interface OptsMLSxInterface { 30 /** 31 * @return the optsCharset 32 */ 33 public byte getOptsCharset(); 34 35 /** 36 * @param optsCharset 37 * the optsCharset to set 38 */ 39 public void setOptsCharset(byte optsCharset); 40 41 /** 42 * @return the optsCreate 43 */ 44 public byte getOptsCreate(); 45 46 /** 47 * @param optsCreate 48 * the optsCreate to set 49 */ 50 public void setOptsCreate(byte optsCreate); 51 52 /** 53 * @return the optsLang 54 */ 55 public byte getOptsLang(); 56 57 /** 58 * @param optsLang 59 * the optsLang to set 60 */ 61 public void setOptsLang(byte optsLang); 62 63 /** 64 * @return the optsMediaType 65 */ 66 public byte getOptsMediaType(); 67 68 /** 69 * @param optsMediaType 70 * the optsMediaType to set 71 */ 72 public void setOptsMediaType(byte optsMediaType); 73 74 /** 75 * @return the optsModify 76 */ 77 public byte getOptsModify(); 78 79 /** 80 * @param optsModify 81 * the optsModify to set 82 */ 83 public void setOptsModify(byte optsModify); 84 85 /** 86 * @return the optsPerm 87 */ 88 public byte getOptsPerm(); 89 90 /** 91 * @param optsPerm 92 * the optsPerm to set 93 */ 94 public void setOptsPerm(byte optsPerm); 95 96 /** 97 * @return the optsSize 98 */ 99 public byte getOptsSize(); 100 101 /** 102 * @param optsSize 103 * the optsSize to set 104 */ 105 public void setOptsSize(byte optsSize); 106 107 /** 108 * @return the optsType 109 */ 110 public byte getOptsType(); 111 112 /** 113 * @param optsType 114 * the optsType to set 115 */ 116 public void setOptsType(byte optsType); 117 118 /** 119 * @return the optsUnique 120 */ 121 public byte getOptsUnique(); 122 123 /** 124 * @param optsUnique 125 * the optsUnique to set 126 */ 127 public void setOptsUnique(byte optsUnique); 128 129 /** 130 * 131 * @return the String associated to the feature for MLSx 132 */ 133 public String getFeat(); 134 }