Package org.eclipse.sisu.mojos
Class CachingWriter
java.lang.Object
java.io.Writer
java.io.StringWriter
org.eclipse.sisu.mojos.CachingWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private static StringreadString(Path path, Charset charset) private static voidwriteString(Path path, String str, Charset charset)
-
Field Details
-
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
-