MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / setFileURL

Method setFileURL

CodenameOne/src/com/codename1/io/Log.java:573–582  ·  view source on GitHub ↗
(String fileURL)

Source from the content-addressed store, hash-verified

571 ///
572 /// - `fileURL`: the fileURL to set
573 public void setFileURL(String fileURL) {
574 if (!Objects.equals(this.fileURL, fileURL)) {
575 try {
576 this.fileURL = fileURL;
577 output = createWriter();
578 } catch (IOException ex) {
579 ex.printStackTrace();
580 }
581 }
582 }
583
584 /// Activates the filesystem tracking of file open/close operations
585 public void trackFileSystem() {

Callers 3

getLogContentMethod · 0.80
invoke15Method · 0.80

Calls 3

equalsMethod · 0.95
createWriterMethod · 0.95
printStackTraceMethod · 0.45

Tested by 1