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
public class SmallFileSubstitutionHandler extends FileSubstitutionHandler
-
-
Constructor Summary
Constructors Constructor Description SmallFileSubstitutionHandler(File file)
Constructs theSmallFileSubstitutionHandler
for the given input file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reader
getReader()
Gets the character stream from the input.Writer
getWriter()
Gets theWriter
object to write the character stream in to the output.-
Methods inherited from class com.sun.enterprise.admin.servermgmt.stringsubs.impl.FileSubstitutionHandler
finish, getName
-
-
-
-
Constructor Detail
-
SmallFileSubstitutionHandler
public SmallFileSubstitutionHandler(File file) throws FileNotFoundException
Constructs theSmallFileSubstitutionHandler
for the given input file.- Parameters:
file
- Input file.- Throws:
FileNotFoundException
- If file is not found.
-
-
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 theWriter
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.
-
-