org.asciidoctor
Class AsciiDocDirectoryWalker
java.lang.Object
org.asciidoctor.DirectoryWalker
org.asciidoctor.AsciiDocDirectoryWalker
public class AsciiDocDirectoryWalker
- extends DirectoryWalker
Directory walker that finds all asciidoc files inside a folder and in all its subfolders.
It returns only the files which their extensions are: .asc, .asciidoc, .ad or .adoc.
- Author:
- lordofthejars
|
Method Summary |
protected boolean |
isAcceptedFile(File file)
Method to implement which is called to decide if file should be filtered
or not. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsciiDocDirectoryWalker
public AsciiDocDirectoryWalker(String baseDir)
isAcceptedFile
protected boolean isAcceptedFile(File file)
- Description copied from class:
DirectoryWalker
- Method to implement which is called to decide if file should be filtered
or not.
- Specified by:
isAcceptedFile in class DirectoryWalker
- Parameters:
file - current file.
- Returns:
- true if file should be added to returned list, false otherwise.
Copyright © 2013. All Rights Reserved.