public class FtpArgumentCode extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FtpArgumentCode.TransferMode
Mode of transmission
|
static class |
FtpArgumentCode.TransferStructure
Structure of transmission
|
static class |
FtpArgumentCode.TransferSubType
SubType of transmission
|
static class |
FtpArgumentCode.TransferType
Type of transmission
|
Constructor and Description |
---|
FtpArgumentCode() |
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
|
static void |
main(String[] args)
List all charsets supported by the current platform
|
public static FtpArgumentCode.TransferType getTransferType(char type) throws org.waarp.common.exception.InvalidArgumentException
type
- org.waarp.common.exception.InvalidArgumentException
- if the type is unknownpublic static FtpArgumentCode.TransferSubType getTransferSubType(char subType) throws org.waarp.common.exception.InvalidArgumentException
subType
- org.waarp.common.exception.InvalidArgumentException
- if the TransferSubType is unknownpublic static FtpArgumentCode.TransferStructure getTransferStructure(char structure) throws org.waarp.common.exception.InvalidArgumentException
structure
- org.waarp.common.exception.InvalidArgumentException
- if the TransferStructure is unknownpublic static FtpArgumentCode.TransferMode getTransferMode(char mode) throws org.waarp.common.exception.InvalidArgumentException
mode
- org.waarp.common.exception.InvalidArgumentException
- if the TransferMode is unknownpublic static void main(String[] args)
args
- Copyright © 2009–2019 Waarp. All rights reserved.