View Javadoc
1   // Generated by delombok at Mon Apr 14 16:48:01 UTC 2025
2   package de.larssh.jes.parser;
3   
4   import org.apache.commons.net.ftp.FTPClientConfig;
5   import org.apache.commons.net.ftp.FTPFileEntryParser;
6   import org.apache.commons.net.ftp.parser.FTPFileEntryParserFactory;
7   import de.larssh.utils.annotations.SuppressJacocoGenerated;
8   import edu.umd.cs.findbugs.annotations.NonNull;
9   import edu.umd.cs.findbugs.annotations.Nullable;
10  
11  /**
12   * Factory implementation to create implementations of
13   * {@link JesFtpFileEntryParser}.
14   */
15  @SuppressJacocoGenerated(justification = "there is no logic to be tested")
16  public class JesFtpFileEntryParserFactory implements FTPFileEntryParserFactory {
17  	/**
18  	 * {@inheritDoc}
19  	 */
20  	@NonNull
21  	@Override
22  	public FTPFileEntryParser createFileEntryParser(@SuppressWarnings("unused") @Nullable final String key) {
23  		return new JesFtpFileEntryParser();
24  	}
25  
26  	/**
27  	 * {@inheritDoc}
28  	 */
29  	@NonNull
30  	@Override
31  	public FTPFileEntryParser createFileEntryParser(@SuppressWarnings("unused") @Nullable final FTPClientConfig config) {
32  		return new JesFtpFileEntryParser();
33  	}
34  
35  	@java.lang.SuppressWarnings("all")
36  	@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(justification = "generated code")
37  	@lombok.Generated
38  	public JesFtpFileEntryParserFactory() {
39  	}
40  }