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 TypeMethodDescriptionvoid
close()
private static String
readString
(Path path, Charset charset) private static void
writeString
(Path path, String str, Charset charset)
-
Field Details
-
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
-