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:crypto'); | 15 import 'dart:crypto'; |
16 #import('dart:isolate'); | 16 import 'dart:isolate'; |
17 #import('dart:math'); | 17 import 'dart:math'; |
18 #import('dart:uri'); | 18 import 'dart:uri'; |
19 #import('dart:utf'); | 19 import 'dart:utf'; |
20 #import('dart:scalarlist'); | 20 import 'dart:scalarlist'; |
21 | 21 |
22 #source('base64.dart'); | 22 part 'base64.dart'; |
23 #source('buffer_list.dart'); | 23 part 'buffer_list.dart'; |
24 #source('chunked_stream.dart'); | 24 part 'chunked_stream.dart'; |
25 #source('common.dart'); | 25 part 'common.dart'; |
26 #source('directory.dart'); | 26 part 'directory.dart'; |
27 #source('directory_impl.dart'); | 27 part 'directory_impl.dart'; |
28 #source('eventhandler.dart'); | 28 part 'eventhandler.dart'; |
29 #source('file.dart'); | 29 part 'file.dart'; |
30 #source('file_impl.dart'); | 30 part 'file_impl.dart'; |
31 #source('http.dart'); | 31 part 'http.dart'; |
32 #source('http_headers.dart'); | 32 part 'http_headers.dart'; |
33 #source('http_impl.dart'); | 33 part 'http_impl.dart'; |
34 #source('http_parser.dart'); | 34 part 'http_parser.dart'; |
35 #source('http_session.dart'); | 35 part 'http_session.dart'; |
36 #source('http_utils.dart'); | 36 part 'http_utils.dart'; |
37 #source('input_stream.dart'); | 37 part 'input_stream.dart'; |
38 #source('list_stream.dart'); | 38 part 'list_stream.dart'; |
39 #source('list_stream_impl.dart'); | 39 part 'list_stream_impl.dart'; |
40 #source('mime_multipart_parser.dart'); | 40 part 'mime_multipart_parser.dart'; |
41 #source('output_stream.dart'); | 41 part 'output_stream.dart'; |
42 #source('path.dart'); | 42 part 'path.dart'; |
43 #source('path_impl.dart'); | 43 part 'path_impl.dart'; |
44 #source('platform.dart'); | 44 part 'platform.dart'; |
45 #source('platform_impl.dart'); | 45 part 'platform_impl.dart'; |
46 #source('process.dart'); | 46 part 'process.dart'; |
47 #source('socket.dart'); | 47 part 'socket.dart'; |
48 #source('socket_stream_impl.dart'); | 48 part 'socket_stream_impl.dart'; |
49 #source('stdio.dart'); | 49 part 'stdio.dart'; |
50 #source('stream_util.dart'); | 50 part 'stream_util.dart'; |
51 #source('string_stream.dart'); | 51 part 'string_stream.dart'; |
52 #source('timer_impl.dart'); | 52 part 'timer_impl.dart'; |
53 #source('secure_socket.dart'); | 53 part 'secure_socket.dart'; |
54 #source('secure_server_socket.dart'); | 54 part 'secure_server_socket.dart'; |
55 #source('websocket.dart'); | 55 part 'websocket.dart'; |
56 #source('websocket_impl.dart'); | 56 part 'websocket_impl.dart'; |
OLD | NEW |