OLD | NEW |
1 library java.engine.io; | 1 library java.engine.io; |
2 | 2 |
3 import "dart:io"; | 3 import "dart:io"; |
| 4 import "java_io.dart"; |
4 | 5 |
5 | 6 |
6 class OSUtilities { | 7 class OSUtilities { |
7 static bool isWindows() => Platform.operatingSystem == 'windows'; | 8 static bool isWindows() => Platform.operatingSystem == 'windows'; |
8 static bool isMac() => Platform.operatingSystem == 'macos'; | 9 static bool isMac() => Platform.operatingSystem == 'macos'; |
9 } | 10 } |
10 | 11 |
11 class FileUtilities2 { | 12 class FileUtilities2 { |
12 static File createFile(String path) => new File(path); | 13 static JavaFile createFile(String path) => new JavaFile(path); |
13 } | 14 } |
OLD | NEW |