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 * The IO library is used for Dart server applications, | 6 * The IO library is used for Dart server applications, |
7 * which run on a stand-alone Dart VM from the command line. | 7 * which run on a stand-alone Dart VM from the command line. |
8 * *This library does not work in browser based applications.* | 8 * *This library does not work in browser based applications.* |
9 * | 9 * |
10 * This library allows you to work with files, directories, | 10 * This library allows you to work with files, directories, |
11 * sockets, processes, HTTP servers and clients, and more. | 11 * sockets, processes, HTTP servers and clients, and more. |
12 */ | 12 */ |
13 library dart.io; | 13 library dart.io; |
14 | 14 |
15 import 'dart:async'; | 15 import 'dart:async'; |
16 import 'dart:collection' show Queue, | 16 import 'dart:collection' show Queue, |
17 LinkedHashSet, | 17 LinkedHashSet, |
18 DoubleLinkedQueue, | 18 DoubleLinkedQueue, |
19 DoubleLinkedQueueEntry; | 19 DoubleLinkedQueueEntry; |
20 import 'dart:crypto'; | 20 import 'dart:crypto'; |
21 import 'dart:isolate'; | 21 import 'dart:isolate'; |
22 import 'dart:json' as JSON; | 22 import 'dart:json' as JSON; |
23 import 'dart:math'; | 23 import 'dart:math'; |
24 import 'dart:uri'; | 24 import 'dart:uri'; |
25 import 'dart:utf'; | 25 import 'dart:utf'; |
26 import 'dart:typeddata'; | 26 import 'dart:typed_data'; |
27 | 27 |
28 part 'base64.dart'; | 28 part 'base64.dart'; |
29 part 'buffer_list.dart'; | 29 part 'buffer_list.dart'; |
30 part 'common.dart'; | 30 part 'common.dart'; |
31 part 'data_transformer.dart'; | 31 part 'data_transformer.dart'; |
32 part 'directory.dart'; | 32 part 'directory.dart'; |
33 part 'directory_impl.dart'; | 33 part 'directory_impl.dart'; |
34 part 'eventhandler.dart'; | 34 part 'eventhandler.dart'; |
35 part 'file.dart'; | 35 part 'file.dart'; |
36 part 'file_impl.dart'; | 36 part 'file_impl.dart'; |
(...skipping 14 matching lines...) Expand all Loading... |
51 part 'platform_impl.dart'; | 51 part 'platform_impl.dart'; |
52 part 'process.dart'; | 52 part 'process.dart'; |
53 part 'socket.dart'; | 53 part 'socket.dart'; |
54 part 'stdio.dart'; | 54 part 'stdio.dart'; |
55 part 'string_transformer.dart'; | 55 part 'string_transformer.dart'; |
56 part 'timer_impl.dart'; | 56 part 'timer_impl.dart'; |
57 part 'secure_socket.dart'; | 57 part 'secure_socket.dart'; |
58 part 'secure_server_socket.dart'; | 58 part 'secure_server_socket.dart'; |
59 part 'websocket.dart'; | 59 part 'websocket.dart'; |
60 part 'websocket_impl.dart'; | 60 part 'websocket_impl.dart'; |
OLD | NEW |