olegk       2003/06/29 14:34:07

  Modified:    httpclient/src/java/org/apache/commons/httpclient/util
                        URIUtil.java
  Log:
  URIUtil#toUsingChar related methods deprecated
  
  Revision  Changes    Path
  1.21      +14 -4     
jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/util/URIUtil.java
  
  Index: URIUtil.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/util/URIUtil.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- URIUtil.java      19 Apr 2003 22:29:32 -0000      1.20
  +++ URIUtil.java      29 Jun 2003 21:34:06 -0000      1.21
  @@ -587,6 +587,8 @@
        * @throws URIException if the default protocol charset is not supported
        * 
        * @see URI#getDefaultProtocolCharset
  +     * 
  +     * @deprecated Do not use. To be removed
        */
       public static String toProtocolCharset(String target) throws URIException {
           return toUsingCharset(
  @@ -605,6 +607,8 @@
        * @return the protocol character encoded string
        * 
        * @throws URIException if the charset is not supported
  +     * 
  +     * @deprecated Do not use. To be removed
        */
       public static String toProtocolCharset(String target, String charset)
           throws URIException {
  @@ -623,6 +627,8 @@
        * @throws URIException if the default protocol charset is not supported
        * 
        * @see URI#getDefaultDocumentCharset
  +     * 
  +     * @deprecated Do not use. To be removed
        */
       public static String toDocumentCharset(String target) throws URIException {
           return toUsingCharset(target, URI.getDefaultProtocolCharset(),
  @@ -639,6 +645,8 @@
        * @return the document character encoded string
        * 
        * @throws URIException if the charset is not supported
  +     * 
  +     * @deprecated Do not use. To be removed
        */
       public static String toDocumentCharset(String target, String charset)
           throws URIException {
  @@ -662,6 +670,8 @@
        * @return the document character encoded string
        * 
        * @throws URIException if either of the charsets are not supported
  +     * 
  +     * @deprecated Do not use. To be removed
        */
   
       public static String toUsingCharset(String target, String fromCharset,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to