Search - ViiSE/papka GitHub Wiki

Search

Interface:

public interface Search<T, V> {
    T answer(V query) throws NotFoundException;
}

Methods

T answer(V query) throws NotFoundException - return search result.

Implementations

SearchByContains<T> - search by contains.
SearchByExt<T> - search by extensions.
SearchByStartWith<T> - search by start with.
SearchDuplicatesByList<T> - search duplicates from list of files.
SearchFilesByFolderNameInSystem - search files in filesystem by folder name.
SearchFilesByFolderNameRegex<T> - search files by folder name.
SearchFilesByFullNameRegex - search files by full name.
SearchFilesByRegex - search raw files in folder by regex.
SearchFilesByShortNameRegex - search files by short name.
SearchFilesInSystem - search files in filesystem.
SearchUniqueByList - search unique from list of files.

Description

The Search interface searches for both files and folders. If search did not return any result, it throws NotFoundException.

⚠️ **GitHub.com Fallback** ⚠️