public static Path appendAndClose ( String filePath , Charset charset , String writingString ) { return new JMFileAppender ( filePath , charset ) . append ( writingString ) . closeAndGetFilePath ( ) ; }
Append and close path .