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 #library("reader"); | 5 library reader; |
6 | 6 |
7 #import("input_stream.dart"); | 7 import 'input_stream.dart'; |
8 #import("options.dart"); | 8 import 'options.dart'; |
9 #import("read_request.dart"); | 9 import 'read_request.dart'; |
10 #import("utils.dart"); | 10 import 'utils.dart'; |
11 | 11 |
12 /** | 12 /** |
13 * A class for extracting and decompressing an archive. | 13 * A class for extracting and decompressing an archive. |
14 * | 14 * |
15 * Each instance of this class represents a specific set of options for | 15 * Each instance of this class represents a specific set of options for |
16 * extracting an archive. These options can be used to create multiple input | 16 * extracting an archive. These options can be used to create multiple input |
17 * streams using the [reader.ArchiveReader.openFilename] and | 17 * streams using the [reader.ArchiveReader.openFilename] and |
18 * [reader.ArchiveReader.openMemory] methods. | 18 * [reader.ArchiveReader.openMemory] methods. |
19 * | 19 * |
20 * Before opening an archive, this needs to be configured. [filter] should be | 20 * Before opening an archive, this needs to be configured. [filter] should be |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 /** | 290 /** |
291 * Options for individual formats. See [the libarchive documentation][wiki] | 291 * Options for individual formats. See [the libarchive documentation][wiki] |
292 * for a list of available options. | 292 * for a list of available options. |
293 * | 293 * |
294 * [wiki]: https://github.com/libarchive/libarchive/wiki/ManPageArchiveReadSet
Options3 | 294 * [wiki]: https://github.com/libarchive/libarchive/wiki/ManPageArchiveReadSet
Options3 |
295 */ | 295 */ |
296 final ArchiveOptions options; | 296 final ArchiveOptions options; |
297 | 297 |
298 Format._() : options = new ArchiveOptions(); | 298 Format._() : options = new ArchiveOptions(); |
299 } | 299 } |
OLD | NEW |