@Override public boolean onFileStart(File file, int fileIndex) { boolean processFile = startFileProperties.getType() == FileType.FILE; // Ignore directories and symlinks! if (processFile && listener != null) { listener.onIndexFile(file.getName(), fileIndex); } return processFile; }
@Override public void onFinish() { if (listener != null) { listener.onIndexEnd(); } }
@Override public void onStart(int fileCount) { if (listener != null) { listener.onIndexStart(fileCount); } }