- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Charset c =
String charsetName;Charset.forName(charsetName)
Charset.defaultCharset()
ContentType contentType;contentType.getCharset()
- Smart code suggestions by Codota
}
@Override protected OutputStream getOutputStream(DocumentMetadata meta) throws IOException { Path outRelativePath = outPathFunc.apply(meta); Path resultPath = outBasePath.resolve(outRelativePath); resultPath = IoUtils.addExtension(resultPath, XMI_FILE_EXTENSION); // does not create missing parents // return Files.newOutputStream(resultPath); return FileUtils.openOutputStream(resultPath.toFile()); } }