bonjour à tous

Voila mon code
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
 
private static void checkFolder (File source)
	throws IOException {
		String modele = "^test";
 
			if (Pattern.matches(modele,source.getName()))	{
				CheckFolderName.copyDirectory(f, target);
				}
}
sachant mon f.getName() = test[suivi de n'importe quoi]

merci
++