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.

@FunctionalInterface public interface FileListProvider
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 Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Represents a single file or directory entry in the browser.
  • Method Summary

    Modifier and Type
    Method
    Description
    getFiles(Path currentDir, String searchQuery)
    Gets 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 root
      searchQuery - The search query to filter results, empty string for no filtering
      Returns:
      List of file entries to display