OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 /// A [Resource] is data that can be loaded into a Dart program. | 5 /// A [Resource] is data that can be loaded into a Dart program. |
6 /// | 6 /// |
7 /// This library provides an implementation of [Resource] and a | 7 /// A resource is identified by a URI. |
8 /// [PackageResolver] that controls how package: URIs are converted to | |
9 /// URIs that can be loaded. | |
10 library resource; | 8 library resource; |
11 | 9 |
12 export "src/resource.dart" show Resource, PackageResolver; | 10 export "src/resource.dart" show Resource; |
| 11 export "src/loader.dart" show ResourceLoader; |
OLD | NEW |