Class DefaultFileCounter
- java.lang.Object
-
- com.github.cleydyr.dart.command.files.DefaultFileCounter
-
- All Implemented Interfaces:
FileCounter
@Named @Singleton public class DefaultFileCounter extends Object implements FileCounter
-
-
Constructor Summary
Constructors Constructor Description DefaultFileCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetProcessableFileCount(Path inputFolderPath)booleanhasAllowedExtension(String fileName)
-
-
-
Method Detail
-
getProcessableFileCount
public long getProcessableFileCount(Path inputFolderPath) throws FileCounterException
- Specified by:
getProcessableFileCountin interfaceFileCounter- Throws:
FileCounterException
-
hasAllowedExtension
public boolean hasAllowedExtension(String fileName)
- Specified by:
hasAllowedExtensionin interfaceFileCounter
-
-