public FTPFileEntryParser createOS2FTPEntryParser() { return new OS2FTPEntryParser(); }
/** * This constructor allows the creation of an OS2FTPEntryParser object * with something other than the default configuration. * * @param config The {@link FTPClientConfig configuration} object used to * configure this parser. * @throws IllegalArgumentException * Thrown if the regular expression is unparseable. Should not be seen * under normal conditions. It it is seen, this is a sign that * <code>REGEX</code> is not a valid regular expression. * @since 1.4 */ public OS2FTPEntryParser(FTPClientConfig config) { super(REGEX); configure(config); }
@Override protected FTPClientConfig getDefaultConfiguration() { final FTPClientConfig config = super.getDefaultConfiguration(); config.setServerTimeZoneId(timezone.getID()); return config; } }
parser = new OS2FTPEntryParser(config);
/** * This constructor allows the creation of an OS2FTPEntryParser object * with something other than the default configuration. * * @param config The {@link FTPClientConfig configuration} object used to * configure this parser. * @exception IllegalArgumentException * Thrown if the regular expression is unparseable. Should not be seen * under normal conditions. It it is seen, this is a sign that * <code>REGEX</code> is not a valid regular expression. * @since 1.4 */ public OS2FTPEntryParser(FTPClientConfig config) { super(REGEX); configure(config); }
public FTPFileEntryParser createOS2FTPEntryParser() { return (FTPFileEntryParser) new OS2FTPEntryParser(); }
/** * This constructor allows the creation of an OS2FTPEntryParser object * with something other than the default configuration. * * @param config The {@link FTPClientConfig configuration} object used to * configure this parser. * @exception IllegalArgumentException * Thrown if the regular expression is unparseable. Should not be seen * under normal conditions. It it is seen, this is a sign that * <code>REGEX</code> is not a valid regular expression. * @since 1.4 */ public OS2FTPEntryParser(FTPClientConfig config) { super(REGEX); configure(config); }
public FTPFileEntryParser createOS2FTPEntryParser() { return new OS2FTPEntryParser(); }
parser = createNTFTPEntryParser(config); } else if (ukey.contains("OS/2")) { parser = new OS2FTPEntryParser(config); } else if ((ukey.contains("OS/400")) || (ukey.contains("AS/400"))) { parser = createOS400FTPEntryParser(config);