Contents
Interface FileListProvider
- All Known Implementing Classes:
AssetPrefabFileProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for providing file listings to the browser component.
Implementations can provide files from the filesystem, asset registry, or other sources.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordRepresents a single file or directory entry in the browser. -
Method Summary
Modifier and TypeMethodDescriptionGets a list of file entries for display in the browser.
-
Method Details
-
getFiles
@Nonnull List<FileListProvider.FileEntry> getFiles(@Nonnull Path currentDir, @Nonnull String searchQuery) Gets a list of file entries for display in the browser.- Parameters:
currentDir- The current directory path (relative to root), may be empty for rootsearchQuery- The search query to filter results, empty string for no filtering- Returns:
- List of file entries to display
-