Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Side by Side Diff: sdk/lib/io/path.dart

Issue 11419032: Switch libraries to using new tags. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip of tree. Changed library names to dart.x Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/io/output_stream.dart ('k') | sdk/lib/io/path_impl.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 part of dart.io;
6
5 /** 7 /**
6 * A Path, which is a String interpreted as a sequence of path segments, 8 * A Path, which is a String interpreted as a sequence of path segments,
7 * which are strings, separated by forward slashes. 9 * which are strings, separated by forward slashes.
8 * Paths are immutable wrappers of a String, that offer member functions for 10 * Paths are immutable wrappers of a String, that offer member functions for
9 * useful path manipulations and queries. Joining of paths and normalization 11 * useful path manipulations and queries. Joining of paths and normalization
10 * interpret '.' and '..' in the usual way. 12 * interpret '.' and '..' in the usual way.
11 */ 13 */
12 abstract class Path { 14 abstract class Path {
13 /** 15 /**
14 * Creates a Path from the String [source]. [source] is used as-is, so if 16 * Creates a Path from the String [source]. [source] is used as-is, so if
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 188
187 /** 189 /**
188 * The part of [filename] after the last '.', or '' if [filename] 190 * The part of [filename] after the last '.', or '' if [filename]
189 * contains no '.'. If [filename] is '.' or '..', returns ''. 191 * contains no '.'. If [filename] is '.' or '..', returns ''.
190 * 192 *
191 * new Path('tiger.svg').extension == 'svg' 193 * new Path('tiger.svg').extension == 'svg'
192 * new Path('/src/dart/dart_secrets').extension == '' 194 * new Path('/src/dart/dart_secrets').extension == ''
193 */ 195 */
194 String get extension; 196 String get extension;
195 } 197 }
OLDNEW
« no previous file with comments | « sdk/lib/io/output_stream.dart ('k') | sdk/lib/io/path_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698