Class SmallFileSubstitutionHandler
java.lang.Object
com.sun.enterprise.admin.servermgmt.stringsubs.impl.FileSubstitutionHandler
com.sun.enterprise.admin.servermgmt.stringsubs.impl.SmallFileSubstitutionHandler
- All Implemented Interfaces:
Substitutable
-
Field Summary
Fields inherited from class com.sun.enterprise.admin.servermgmt.stringsubs.impl.FileSubstitutionHandler
_inputFile, _logger, _reader, _strings, _writer -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.enterprise.admin.servermgmt.stringsubs.impl.FileSubstitutionHandler
finish, getName
-
Constructor Details
-
SmallFileSubstitutionHandler
Constructs theSmallFileSubstitutionHandlerfor the given input file.- Parameters:
file- Input file.- Throws:
FileNotFoundException- If file is not found.
-
-
Method Details
-
getReader
Description copied from interface:SubstitutableGets the character stream from the input.Implementation note: It is a good idea for the input stream to be buffered.
- Returns:
- A Reader.
-
getWriter
Description copied from interface:SubstitutableGets theWriterobject 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.
-