OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * File, socket, HTTP, and other I/O support for server applications. | 6 * File, socket, HTTP, and other I/O support for server applications. |
7 * | 7 * |
8 * The I/O library is used for Dart server applications, | 8 * The I/O library is used for Dart server applications, |
9 * which run on a stand-alone Dart VM from the command line. | 9 * which run on a stand-alone Dart VM from the command line. |
10 * *This library does not work in browser-based applications.* | 10 * *This library does not work in browser-based applications.* |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 * | 188 * |
189 * For an introduction to I/O in Dart, see the [dart:io section of the library | 189 * For an introduction to I/O in Dart, see the [dart:io section of the library |
190 * tour](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#dartio---io
-for-command-line-apps). | 190 * tour](https://www.dartlang.org/docs/dart-up-and-running/ch03.html#dartio---io
-for-command-line-apps). |
191 * | 191 * |
192 * To learn more about I/O in Dart, refer to the [tutorial about writing | 192 * To learn more about I/O in Dart, refer to the [tutorial about writing |
193 * command-line apps](https://www.dartlang.org/docs/tutorials/cmdline/). | 193 * command-line apps](https://www.dartlang.org/docs/tutorials/cmdline/). |
194 */ | 194 */ |
195 library dart.io; | 195 library dart.io; |
196 | 196 |
197 import 'dart:async'; | 197 import 'dart:async'; |
198 import 'dart:_internal'; | 198 import 'dart:_internal' hide Symbol; |
199 import 'dart:collection' show HashMap, | 199 import 'dart:collection' show HashMap, |
200 HashSet, | 200 HashSet, |
201 Queue, | 201 Queue, |
202 ListQueue, | 202 ListQueue, |
203 LinkedList, | 203 LinkedList, |
204 LinkedListEntry, | 204 LinkedListEntry, |
205 UnmodifiableMapView; | 205 UnmodifiableMapView; |
206 import 'dart:convert'; | 206 import 'dart:convert'; |
207 import 'dart:developer'; | 207 import 'dart:developer' hide log; |
208 import 'dart:isolate'; | 208 import 'dart:isolate'; |
209 import 'dart:math'; | 209 import 'dart:math'; |
210 import 'dart:typed_data'; | 210 import 'dart:typed_data'; |
| 211 import 'dart:nativewrappers'; |
211 | 212 |
212 part 'bytes_builder.dart'; | 213 part 'bytes_builder.dart'; |
213 part 'common.dart'; | 214 part 'common.dart'; |
214 part 'crypto.dart'; | 215 part 'crypto.dart'; |
215 part 'data_transformer.dart'; | 216 part 'data_transformer.dart'; |
216 part 'directory.dart'; | 217 part 'directory.dart'; |
217 part 'directory_impl.dart'; | 218 part 'directory_impl.dart'; |
218 part 'eventhandler.dart'; | 219 part 'eventhandler.dart'; |
219 part 'file.dart'; | 220 part 'file.dart'; |
220 part 'file_impl.dart'; | 221 part 'file_impl.dart'; |
(...skipping 13 matching lines...) Expand all Loading... |
234 part 'process.dart'; | 235 part 'process.dart'; |
235 part 'secure_server_socket.dart'; | 236 part 'secure_server_socket.dart'; |
236 part 'secure_socket.dart'; | 237 part 'secure_socket.dart'; |
237 part 'security_context.dart'; | 238 part 'security_context.dart'; |
238 part 'service_object.dart'; | 239 part 'service_object.dart'; |
239 part 'socket.dart'; | 240 part 'socket.dart'; |
240 part 'stdio.dart'; | 241 part 'stdio.dart'; |
241 part 'string_transformer.dart'; | 242 part 'string_transformer.dart'; |
242 part 'websocket.dart'; | 243 part 'websocket.dart'; |
243 part 'websocket_impl.dart'; | 244 part 'websocket_impl.dart'; |
OLD | NEW |