Interface IWriterProvider

  • All Known Implementing Classes:
    FileSystemCharStreamProvider
    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 IWriterProvider
    A callback interface to retrieve Writer objects from a given name.
    Author:
    Philip Helger
    • Method Detail

      • getWriter

        @Nullable
        Writer getWriter​(@Nonnull
                         String sName,
                         @Nonnull
                         EAppend eAppend)
        Get the writer from the given name.
        Parameters:
        sName - The name to be resolved. May not be null.
        eAppend - Appending mode. May not be null.
        Returns:
        null if resolving failed.