Class FileSubstitutionHandler
java.lang.Object
com.sun.enterprise.admin.servermgmt.stringsubs.impl.FileSubstitutionHandler
- All Implemented Interfaces:
Substitutable
- Direct Known Subclasses:
LargeFileSubstitutionHandler,SmallFileSubstitutionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FileInput file.protected static final Loggerprotected ReaderAReaderto read the character stream from input file.protected static final com.sun.enterprise.universal.i18n.LocalStringsImplprotected WriterAWriterto write the character stream to the output file. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.enterprise.admin.servermgmt.stringsubs.Substitutable
getReader, getWriter
-
Field Details
-
Constructor Details
-
FileSubstitutionHandler
- Throws:
FileNotFoundException
-
-
Method Details
-
getName
Description copied from interface:SubstitutableGets the processing entity name on which string substitution operation is carrying on.- Specified by:
getNamein interfaceSubstitutable- Returns:
- Name of the entity.
-
finish
public void finish()Description copied from interface:SubstitutableCalled 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:
finishin interfaceSubstitutable
-