org.asciidoctor
public abstract class AbstractDirectoryWalker extends Object implements DirectoryWalker
Constructor and Description |
---|
AbstractDirectoryWalker(String baseDir) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
isAcceptedFile(File filename)
Method to implement which is called to decide if file should be filtered or not.
|
List<File> |
scan()
Method that finds all files that meets some criteria.
|
public AbstractDirectoryWalker(String baseDir)
public List<File> scan()
scan
in interface DirectoryWalker
protected abstract boolean isAcceptedFile(File filename)
filename
- current file.Copyright © 2014. All Rights Reserved.