Nouvelles Regex : FFE_FILE_LIST_RESULT validée
This commit is contained in:
parent
5d723d9acf
commit
e43d0595d4
@ -1,13 +1,16 @@
|
||||
package lightcontainer.protocol.rules.writer;
|
||||
|
||||
import lightcontainer.protocol.ProtocolWriter;
|
||||
import lightcontainer.protocol.StandardizedDefinitions;
|
||||
|
||||
import static lightcontainer.protocol.StandardizedDefinitions.FFE_FILE_LIST_RESULT;
|
||||
|
||||
/**
|
||||
* Règle permettant de construire une commande contenant la liste des fichiers d'un utilisateur
|
||||
*/
|
||||
public class FilesRule extends ProtocolWriter {
|
||||
//"^FILES( ([^ !]{1,20})!([0-9]{1,10})){0,50}\r\n$"
|
||||
private static final String PATTERN = "^FILES( ([^ !]{1,20})!([0-9]{1,10})){0,50}\r\n$";
|
||||
private static final String PATTERN = FFE_FILE_LIST_RESULT;
|
||||
|
||||
public static final String NAME = "FILES";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user