Class SmallFileSubstitutionHandler

  • All Implemented Interfaces:
    Substitutable

    public class SmallFileSubstitutionHandler
    extends FileSubstitutionHandler
    Creates Reader and Writer for the String substitution file. Its handles the small files which can be processed differently for faster and better performance comparative to larger files.
    • Method Detail

      • getReader

        public Reader getReader()
        Description copied from interface: Substitutable
        Gets the character stream from the input.

        Implementation note: It is a good idea for the input stream to be buffered.

        Returns:
        A Reader.
      • getWriter

        public Writer getWriter()
        Description copied from interface: Substitutable
        Gets the Writer object to write the character stream in to the output.

        Implementation note: It is a good idea for the output stream to be buffered.

        Returns:
        A Writer.