public class FtpArgumentCode extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FtpArgumentCode.TransferMode
Mode of transmission
org.waarp.ftp.core.data TransferMode
|
static class |
FtpArgumentCode.TransferStructure
Structure of transmission
org.waarp.ftp.core.data TransferStructure
|
static class |
FtpArgumentCode.TransferSubType
SubType of transmission
org.waarp.ftp.core.data TransferSubType
|
static class |
FtpArgumentCode.TransferType
Type of transmission
org.waarp.ftp.core.data TransferType
|
Modifier and Type | Method and Description |
---|---|
static FtpArgumentCode.TransferMode |
getTransferMode(char mode)
Get the TransferMode according to the char
|
static FtpArgumentCode.TransferStructure |
getTransferStructure(char structure)
Get the TransferStructure according to the char
|
static FtpArgumentCode.TransferSubType |
getTransferSubType(char subType)
Get the TransferSubType according to the char
|
static FtpArgumentCode.TransferType |
getTransferType(char type)
Get the TransferType according to the char
|
public static FtpArgumentCode.TransferType getTransferType(char type) throws InvalidArgumentException
type
- InvalidArgumentException
- if the type is unknownpublic static FtpArgumentCode.TransferSubType getTransferSubType(char subType) throws InvalidArgumentException
subType
- InvalidArgumentException
- if the TransferSubType is
unknownpublic static FtpArgumentCode.TransferStructure getTransferStructure(char structure) throws InvalidArgumentException
structure
- InvalidArgumentException
- if the TransferStructure is
unknownpublic static FtpArgumentCode.TransferMode getTransferMode(char mode) throws InvalidArgumentException
mode
- InvalidArgumentException
- if the TransferMode is unknownCopyright © 2009–2020 Waarp. All rights reserved.