Nouvelles Regex : FFE_RETRIEVE_FILE validée

This commit is contained in:
Maximilien LEDOUX 2022-03-19 13:44:04 +01:00
parent d10b547dc0
commit 314784f662

View File

@ -2,10 +2,12 @@ package lightcontainer.protocol.rules.writer;
import lightcontainer.protocol.ProtocolWriter; import lightcontainer.protocol.ProtocolWriter;
import static lightcontainer.protocol.StandardizedDefinitions.FFE_RETRIEVE_FILE;
public class RetrieveFileRule extends ProtocolWriter { public class RetrieveFileRule extends ProtocolWriter {
// Constants // Constants
//"^RETRIEVEFILE ([A-Za-z0-9]{50,200})\r\n$" //"^RETRIEVEFILE ([A-Za-z0-9]{50,200})\r\n$"
private static final String PATTERN = "^RETRIEVEFILE ([A-Za-z0-9]{50,200})\r\n$"; private static final String PATTERN = FFE_RETRIEVE_FILE;
public static final String NAME = "RETRIEVEFILE"; public static final String NAME = "RETRIEVEFILE";
// Constructor // Constructor