Class ArchiveMemberHandler

java.lang.Object
com.sun.enterprise.admin.servermgmt.stringsubs.impl.ArchiveMemberHandler
All Implemented Interfaces:
ArchiveMember, Substitutable

public class ArchiveMemberHandler extends Object implements ArchiveMember
Handles the creation of Reader and Writer for a MemberEntry of an archive.
See Also:
  • Constructor Details

  • Method Details

    • finish

      public void finish()
      Description copied from interface: Substitutable
      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.
      Specified by:
      finish in interface Substitutable
    • getParent

      public ArchiveEntryWrapper getParent()
      Description copied from interface: ArchiveMember
      Gets the ArchiveEntryWrapper of the member entry.
      Specified by:
      getParent in interface ArchiveMember
      Returns:
      The parental archive wrapper of the entry.
    • getName

      public String getName()
      Description copied from interface: Substitutable
      Gets the processing entity name on which string substitution operation is carrying on.
      Specified by:
      getName in interface Substitutable
      Returns:
      Name of the entity.
    • 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.

      Specified by:
      getReader in interface Substitutable
      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.

      Specified by:
      getWriter in interface Substitutable
      Returns:
      A Writer.