1 /**
2 * This file is part of Waarp Project.
3 *
4 * Copyright 2009, Frederic Bregier, and individual contributors by the @author tags. See the
5 * COPYRIGHT.txt in the distribution for a full listing of individual contributors.
6 *
7 * All Waarp Project is free software: you can redistribute it and/or modify it under the terms of
8 * the GNU General Public License as published by the Free Software Foundation, either version 3 of
9 * the License, or (at your option) any later version.
10 *
11 * Waarp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
12 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
13 * Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along with Waarp . If not, see
16 * <http://www.gnu.org/licenses/>.
17 */
18 package org.waarp.ftp.core.control;
19
20 import java.nio.charset.Charset;
21
22 import io.netty.handler.codec.string.StringDecoder;
23
24 /**
25 * Exactly same as StringDecoder from Netty
26 *
27 * @author Frederic Bregier
28 *
29 */
30 class FtpControlStringDecoder extends StringDecoder {
31 /**
32 *
33 */
34 public FtpControlStringDecoder() {
35 }
36
37 /**
38 * @see StringDecoder
39 * @param arg0
40 */
41 public FtpControlStringDecoder(String arg0) {
42 super(Charset.forName(arg0));
43 }
44
45 /**
46 * @see StringDecoder
47 * @param arg0
48 */
49 public FtpControlStringDecoder(Charset arg0) {
50 super(arg0);
51 }
52 }