public CompositeFileEntryParser createFileEntryParser(final String system, final TimeZone timezone) throws ParserInitializationException { if(null != system) { String ukey = system.toUpperCase(Locale.ROOT); if(ukey.contains(FTPClientConfig.SYST_UNIX)) { return this.createUnixFTPEntryParser(timezone); } else if(ukey.contains(FTPClientConfig.SYST_VMS)) { throw new ParserInitializationException(String.format("\"%s\" is not currently a supported system.", system)); } else if(ukey.contains(FTPClientConfig.SYST_NETWARE)) { return this.createNetwareFTPEntryParser(timezone); } else if(ukey.contains(FTPClientConfig.SYST_NT)) { return this.createNTFTPEntryParser(timezone); } else if(ukey.contains(FTPClientConfig.SYST_OS2)) { return this.createOS2FTPEntryParser(timezone); } else if(ukey.contains(FTPClientConfig.SYST_OS400)) { return this.createOS400FTPEntryParser(timezone); } else if(ukey.contains(FTPClientConfig.SYST_MVS)) { return this.createUnixFTPEntryParser(timezone); } } // Defaulting to UNIX parser return this.createUnixFTPEntryParser(timezone); }
public FTPFileEntryParser createFileEntryParser(String key) { if(key == null) { throw new ParserInitializationException("Parser key cannot be null"); } else { return this.createFileEntryParser(key, (FTPClientConfig)null); } }
@Override public FTPFileEntryParser createFileEntryParser(String key) { if (key == null) { throw new ParserInitializationException("Parser key cannot be null"); } return createFileEntryParser(key, null); }
public CompositeFileEntryParser createFileEntryParser(final FTPClientConfig config) throws ParserInitializationException { return this.createFileEntryParser(config.getServerSystemKey(), TimeZone.getTimeZone(config.getServerTimeZoneId())); }
public CompositeFileEntryParser createFileEntryParser(final String system) throws ParserInitializationException { return this.createFileEntryParser(system, TimeZone.getDefault()); }
public FTPFileEntryParser createFileEntryParser(FTPClientConfig config) throws ParserInitializationException { String key = config.getServerSystemKey(); return this.createFileEntryParser(key, config); }
@Override public FTPFileEntryParser createFileEntryParser(FTPClientConfig config) throws ParserInitializationException { String key = config.getServerSystemKey(); return createFileEntryParser(key, config); }
FTPFileEntryParser createFileEntryParser(String var1) throws ParserInitializationException;
FTPFileEntryParser createFileEntryParser(FTPClientConfig var1) throws ParserInitializationException;