KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > syndication > feed > synd > impl > URINormalizer


1 package com.sun.syndication.feed.synd.impl;
2
3 /**
4  * Utility class for normalizing an URI as specified in RFC 2396bis.
5  * <p>
6  * @author Alejandro Abdelnur
7  */

8 public class URINormalizer {
9
10     /**
11      * Normalizes an URI as specified in RFC 2396bis.
12      * <p>
13      * @param uri to normalize.
14      * @return the normalized value of the given URI, or <b>null</b> if the given URI was <b>null</b>.
15      */

16     public static String JavaDoc normalize(String JavaDoc uri) {
17         String JavaDoc normalizedUri = null;
18         if (uri!=null) {
19             normalizedUri = uri; //TODO THIS HAS TO BE IMPLEMENTED
20
}
21         return normalizedUri;
22     }
23 }
24
Popular Tags