Interface FileNameRenderer

  • All Known Implementing Classes:
    ConfigurableFileNameRenderer

    public interface FileNameRenderer
    Strategy to render a FileId into a display name. This is used to prettify file names in renderers using relative paths eg.
    Author:
    Clément Fournier
    • Method Detail

      • getDisplayName

        String getDisplayName​(@NonNull FileId fileId)
        Return a display name for the given file id.
        Parameters:
        fileId - A file id
        Returns:
        A display name
      • getDisplayName

        default String getDisplayName​(@NonNull TextFile textFile)