Package org.frankframework.util
Class FileUtils
java.lang.Object
org.frankframework.util.FileUtils
Utilities for batch file handling.
- Author:
- John Dekker
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanstatic StringgetBaseName(String fileName) static StringgetFilename(ParameterList definedParameters, PipeLineSession session, File originalFile, String filenamePattern) static StringgetFileNameExtension(String fileName) static File[]static FilegetFreeFile(File file) protected static voidmakeBackups(File targetFile, int numBackups) static StringmoveFile(File orgFile, File rename2File, boolean overwrite, int numBackups, int numberOfAttempts, long waitTime) static Stringstatic booleanreadAllowed(String rules, String fileName, FileUtils.Authenticator authenticator) 
- 
Constructor Details- 
FileUtilspublic FileUtils()
 
- 
- 
Method Details- 
getFilenamepublic static String getFilename(ParameterList definedParameters, PipeLineSession session, File originalFile, String filenamePattern) throws ParameterException - Throws:
- ParameterException
 
- 
moveFilepublic static String moveFile(File orgFile, File rename2File, boolean overwrite, int numBackups, int numberOfAttempts, long waitTime) throws InterruptedException, IOException - Throws:
- InterruptedException
- IOException
 
- 
moveFilepublic static String moveFile(File orgFile, File rename2File, int numberOfAttempts, long waitTime) throws InterruptedException - Throws:
- InterruptedException
 
- 
getFreeFile
- 
copyFile
- 
makeBackups
- 
getFiles
- 
getFileNameExtension
- 
getBaseName
- 
readAllowedpublic static boolean readAllowed(String rules, String fileName, FileUtils.Authenticator authenticator) 
 
-