Class VelocityGenerator.RedirectingWriter
java.lang.Object
java.io.Writer
org.codehaus.modello.plugin.velocity.VelocityGenerator.RedirectingWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
- Enclosing class:
VelocityGenerator
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Writer
(package private) Path
(package private) StringBuilder
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
Constructor Details
-
RedirectingWriter
RedirectingWriter(Path dir)
-
-
Method Details
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
writeLine
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-