| OLD | NEW |
| 1 // Copyright (c) 2011, 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 * A parsed URI, inspired by: | 6 * A parsed URI, inspired by: |
| 7 * http://closure-library.googlecode.com/svn/docs/class_goog_Uri.html | 7 * http://closure-library.googlecode.com/svn/docs/class_goog_Uri.html |
| 8 */ | 8 */ |
| 9 class Uri { | 9 class Uri { |
| 10 /** | 10 /** |
| 11 * Parses a URL query string into a map. Because you can have multiple values | 11 * Parses a URL query string into a map. Because you can have multiple values |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 } | 136 } |
| 137 | 137 |
| 138 static final _COMPONENT_SCHEME = 1; | 138 static final _COMPONENT_SCHEME = 1; |
| 139 static final _COMPONENT_USER_INFO = 2; | 139 static final _COMPONENT_USER_INFO = 2; |
| 140 static final _COMPONENT_DOMAIN = 3; | 140 static final _COMPONENT_DOMAIN = 3; |
| 141 static final _COMPONENT_PORT = 4; | 141 static final _COMPONENT_PORT = 4; |
| 142 static final _COMPONENT_PATH = 5; | 142 static final _COMPONENT_PATH = 5; |
| 143 static final _COMPONENT_QUERY_DATA = 6; | 143 static final _COMPONENT_QUERY_DATA = 6; |
| 144 static final _COMPONENT_FRAGMENT = 7; | 144 static final _COMPONENT_FRAGMENT = 7; |
| 145 } | 145 } |
| OLD | NEW |