Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/sun/syndication/feed/synd/impl/URINormalizer.java


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 normalize(String uri) {
17          String normalizedUri = null;
18          if (uri!=null) {
19              normalizedUri = uri; //TODO THIS HAS TO BE IMPLEMENTED
20          }
21          return normalizedUri;
22      }
23  }