/src/main/java/org/htmlunit/TextPage.java
Files.write( savePath, text.getBytes( charset) ) ; final Charset charset = getWebResponse( ).getContentCharset( ) ;final String text = getContent( ) ;
final String text = getContent ( ) ; final Charset charset = getWebResponse ( ) .getContentCharset ( ) ; Files.write ( savePath, text.getBytes ( charset ) ) ;
} public String getContent() { return getWebResponse().getContentAsString(); } public void save(final File file) throws IOException { final Path savePath = file.toPath(); <extra_id_0> } }