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-dev'; | 16 import 'dart:_collection-dev'; |
17 import 'dart:collection' show LinkedHashSet, | 17 import 'dart:collection' show LinkedHashSet, |
18 LinkedList, | 18 LinkedList, |
19 LinkedListEntry; | 19 LinkedListEntry; |
20 import 'dart:isolate'; | 20 import 'dart:isolate'; |
21 import 'dart:json' as JSON; | 21 import 'dart:json' as JSON; |
22 import 'dart:math'; | 22 import 'dart:math'; |
23 import 'dart:utf'; | 23 import 'dart:utf'; |
24 import 'dart:typed_data'; | 24 import 'dart:typed_data'; |
25 | 25 |
26 part 'buffer_list.dart'; | |
27 part 'bytes_builder.dart'; | 26 part 'bytes_builder.dart'; |
28 part 'common.dart'; | 27 part 'common.dart'; |
29 part 'crypto.dart'; | 28 part 'crypto.dart'; |
30 part 'data_transformer.dart'; | 29 part 'data_transformer.dart'; |
31 part 'directory.dart'; | 30 part 'directory.dart'; |
32 part 'directory_impl.dart'; | 31 part 'directory_impl.dart'; |
33 part 'eventhandler.dart'; | 32 part 'eventhandler.dart'; |
34 part 'file.dart'; | 33 part 'file.dart'; |
35 part 'file_impl.dart'; | 34 part 'file_impl.dart'; |
36 part 'file_system_entity.dart'; | 35 part 'file_system_entity.dart'; |
(...skipping 17 matching lines...) Expand all Loading... |
54 part 'platform_impl.dart'; | 53 part 'platform_impl.dart'; |
55 part 'process.dart'; | 54 part 'process.dart'; |
56 part 'socket.dart'; | 55 part 'socket.dart'; |
57 part 'stdio.dart'; | 56 part 'stdio.dart'; |
58 part 'string_transformer.dart'; | 57 part 'string_transformer.dart'; |
59 part 'timer_impl.dart'; | 58 part 'timer_impl.dart'; |
60 part 'secure_socket.dart'; | 59 part 'secure_socket.dart'; |
61 part 'secure_server_socket.dart'; | 60 part 'secure_server_socket.dart'; |
62 part 'websocket.dart'; | 61 part 'websocket.dart'; |
63 part 'websocket_impl.dart'; | 62 part 'websocket_impl.dart'; |
OLD | NEW |