| OLD | NEW |
| 1 library java.io; | 1 library java.io; |
| 2 | 2 |
| 3 import "dart:io"; | 3 import "dart:io"; |
| 4 import 'java_core.dart' show JavaIOException, CharSequence; | 4 import 'java_core.dart' show JavaIOException; |
| 5 import 'package:path/path.dart' as pathos; | 5 import 'package:path/path.dart' as pathos; |
| 6 | 6 |
| 7 class JavaSystemIO { | 7 class JavaSystemIO { |
| 8 static Map<String, String> _properties = new Map(); | 8 static Map<String, String> _properties = new Map(); |
| 9 static String getProperty(String name) { | 9 static String getProperty(String name) { |
| 10 { | 10 { |
| 11 String value = _properties[name]; | 11 String value = _properties[name]; |
| 12 if (value != null) { | 12 if (value != null) { |
| 13 return value; | 13 return value; |
| 14 } | 14 } |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 var files = <JavaFile>[]; | 130 var files = <JavaFile>[]; |
| 131 var entities = _newDirectory().listSync(); | 131 var entities = _newDirectory().listSync(); |
| 132 for (FileSystemEntity entity in entities) { | 132 for (FileSystemEntity entity in entities) { |
| 133 files.add(new JavaFile(entity.path)); | 133 files.add(new JavaFile(entity.path)); |
| 134 } | 134 } |
| 135 return files; | 135 return files; |
| 136 } | 136 } |
| 137 File _newFile() => new File(_path); | 137 File _newFile() => new File(_path); |
| 138 Directory _newDirectory() => new Directory(_path); | 138 Directory _newDirectory() => new Directory(_path); |
| 139 } | 139 } |
| OLD | NEW |