1 package net.sf.jpkgmk; 2 3 import java.io.File; 4 5 /** 6 * Interface for providing the mode/permissions to be used for a specific file 7 * @author gommma (gommma AT users.sourceforge.net) 8 * @author Last changed by: $Author: gommma $ 9 * @version $Revision: 2 $ $Date: 2008-08-20 21:14:19 +0200 (Mi, 20 Aug 2008) $ 10 * @since 1.0 11 */ 12 public interface PermissionProvider 13 { 14 /** 15 * @return Returns the 4 bit permissions to be set for the given file in the prototype. E.g. "0775" 16 */ 17 public String getMode(File file); 18 }