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 TypeMethodDescriptionvoid
close()
private static String
readString
(Path path, Charset charset) private static void
writeString
(Path path, String str, Charset charset) Methods inherited from class java.io.StringWriter
append, append, append, flush, getBuffer, toString, write, write, write, write
Methods 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classStringWriter
- Throws:
IOException
-
readString
- Throws:
IOException
-
writeString
- Throws:
IOException
-