Package org.codehaus.modello.plugin
Class CachingWriter
java.lang.Object
java.io.Writer
java.io.StringWriter
org.codehaus.modello.plugin.CachingWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCachingWriter(org.sonatype.plexus.build.incremental.BuildContext buildContext, Path path, Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private static StringreadString(Path path, Charset charset) private static voidwriteString(Path path, String str, Charset charset) Methods inherited from class java.io.StringWriter
append, append, append, flush, getBuffer, toString, write, write, write, writeMethods inherited from class java.io.Writer
nullWriter, write
-
Field Details
-
buildContext
private final org.sonatype.plexus.build.incremental.BuildContext buildContext -
path
-
charset
-
-
Constructor Details
-
CachingWriter
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classStringWriter- Throws:
IOException
-
readString
- Throws:
IOException
-
writeString
- Throws:
IOException
-