Search - ViiSE/papka GitHub Wiki
public interface Search<T, V> {
T answer(V query) throws NotFoundException;
}
T answer(V query) throws NotFoundException - return search result.
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.
The Search
interface searches for both files and folders. If search did not return any result, it throws NotFoundException
.