- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {LocalDateTime l =
new LocalDateTime()
LocalDateTime.now()
DateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
- Smart code suggestions by Codota
}
/** * Saves a copy of the data file as a file with the specified file name. * * @param path full file path where the data file should be saved to. If the file exists it will be overwritten */ //TODO exception - method throws DSSException which can be caused by other exceptions public void saveAs(String path) { try { logger.debug("Path: " + path); document.save(path); } catch (IOException e) { logger.error("Failed to save path " + path); throw new TechnicalException("Failed to save path " + path, e); } }