Interface Substitutable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void finish()
      Called at the completion of the substitution process to perform post operation.
      String getName()
      Gets the processing entity name on which string substitution operation is carrying on.
      Reader getReader()
      Gets the character stream from the input.
      Writer getWriter()
      Gets the Writer object to write the character stream in to the output.
    • Method Detail

      • getName

        String getName()
        Gets the processing entity name on which string substitution operation is carrying on.
        Returns:
        Name of the entity.
      • getReader

        Reader getReader()
        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

        Writer getWriter()
        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.
      • finish

        void finish()
        Called at the completion of the substitution process to perform post operation. For e.g closing of reader/writer, cleaning of the temporary data... etc.