equal
deleted
inserted
replaced
59 catch { |
59 catch { |
60 case _: URISyntaxException | _: IllegalArgumentException | _: FileSystemNotFoundException => |
60 case _: URISyntaxException | _: IllegalArgumentException | _: FileSystemNotFoundException => |
61 false |
61 false |
62 } |
62 } |
63 |
63 |
|
64 def absolute_file(uri: String): JFile = File.absolute(parse_file(uri)) |
|
65 def absolute_file_name(uri: String): String = absolute_file(uri).getPath |
|
66 |
64 def canonical_file(uri: String): JFile = File.canonical(parse_file(uri)) |
67 def canonical_file(uri: String): JFile = File.canonical(parse_file(uri)) |
65 def canonical_file_name(uri: String): String = canonical_file(uri).getPath |
68 def canonical_file_name(uri: String): String = canonical_file(uri).getPath |
66 } |
69 } |