Class DefaultFileCounter
java.lang.Object
com.github.cleydyr.dart.command.files.DefaultFileCounter
- All Implemented Interfaces:
FileCounter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetProcessableFileCount(Path inputFolderPath, Path outputFolderPath) booleanhasAllowedExtension(String fileName, String... allowedExtensions) booleanhasAllowedExtensionDifferentFolders(String fileName) booleanhasAllowedExtensionSameFolder(String fileName)
-
Constructor Details
-
DefaultFileCounter
public DefaultFileCounter()
-
-
Method Details
-
getProcessableFileCount
public long getProcessableFileCount(Path inputFolderPath, Path outputFolderPath) throws FileCounterException - Specified by:
getProcessableFileCountin interfaceFileCounter- Throws:
FileCounterException
-
hasAllowedExtensionSameFolder
- Specified by:
hasAllowedExtensionSameFolderin interfaceFileCounter
-
hasAllowedExtensionDifferentFolders
- Specified by:
hasAllowedExtensionDifferentFoldersin interfaceFileCounter
-
hasAllowedExtension
-