jericho 2002/08/17 08:50:58
Modified: src/util/org/apache/util URI.java
Log:
- Ooopss... I deleted some codes... :( Add it again...
Revision Changes Path
1.14 +39 -4 jakarta-slide/src/util/org/apache/util/URI.java
Index: URI.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/util/org/apache/util/URI.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- URI.java 17 Aug 2002 15:33:37 -0000 1.13
+++ URI.java 17 Aug 2002 15:50:58 -0000 1.14
@@ -2265,6 +2265,41 @@
*
* @return the escaped authority
*/
+ public String getEscapedAuthority() {
+ return (_authority == null) ? null : new String(_authority);
+ }
+
+
+ /**
+ * Get the authority.
+ *
+ * @return the authority
+ * @exception URIException
+ * @see #decode
+ */
+ public String getAuthority() throws URIException {
+ return (_authority == null) ? null : decode(_authority);
+ }
+
+ // ----------------------------------------------------------- The userinfo
+
+ /**
+ * Get the raw-escaped userinfo.
+ *
+ * @return the raw-escaped userinfo
+ * @see #getAuthority
+ */
+ public char[] getRawUserinfo() {
+ return _userinfo;
+ }
+
+
+ /**
+ * Get the escaped userinfo.
+ *
+ * @return the escaped userinfo
+ * @see #getAuthority
+ */
public String getEscapedUserinfo() {
return (_userinfo == null) ? null : new String(_userinfo);
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>