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 Summary

    Modifier and Type
    Method
    Description
    getWriter(String sName, EAppend eAppend)
    Get the writer from the given name.
  • Method Details

    • 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.