public enum StandardFTPFileStrategyFactory extends Enum<StandardFTPFileStrategyFactory> implements FTPFileStrategyFactory
FTPFileStrategy factories.| Enum Constant and Description | 
|---|
AUTO_DETECT
An  
FTPFileStrategy factory that delegates to FTPFileStrategy.autoDetect(). | 
NON_UNIX
An  
FTPFileStrategy factory that delegates to FTPFileStrategy.nonUnix(). | 
UNIX
An  
FTPFileStrategy factory that delegates to FTPFileStrategy.unix(). | 
| Modifier and Type | Method and Description | 
|---|---|
FTPFileStrategy | 
createFTPFileStrategy()
Creates an  
FTPFileStrategy. | 
static StandardFTPFileStrategyFactory | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static StandardFTPFileStrategyFactory[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final StandardFTPFileStrategyFactory UNIX
FTPFileStrategy factory that delegates to FTPFileStrategy.unix().public static final StandardFTPFileStrategyFactory NON_UNIX
FTPFileStrategy factory that delegates to FTPFileStrategy.nonUnix().public static final StandardFTPFileStrategyFactory AUTO_DETECT
FTPFileStrategy factory that delegates to FTPFileStrategy.autoDetect().public static StandardFTPFileStrategyFactory[] values()
for (StandardFTPFileStrategyFactory c : StandardFTPFileStrategyFactory.values()) System.out.println(c);
public static StandardFTPFileStrategyFactory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic FTPFileStrategy createFTPFileStrategy()
FTPFileStrategyFactoryFTPFileStrategy. This FTPFileStrategy will be tied to a specific FTP file system.
 Note: it is allowed to return shared instances if these do not contain any state that is specific to an FTP file system.
createFTPFileStrategy in interface FTPFileStrategyFactoryFTPFileStrategy.Copyright © 2016–2024. All rights reserved.