![JAR search and dependency download from the Maven repository](/logo.png)
com.rometools.rome.feed.synd.impl.URINormalizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rome Show documentation
Show all versions of rome Show documentation
All Roads Lead to ROME. ROME is a set of Atom/RSS Java utilities that make it
easy to work in Java with most syndication formats. Today it accepts all flavors of RSS
(0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0), Atom 0.3 and Atom 1.0 feeds. Rome includes
a set of parsers and generators for the various flavors of feeds, as well as converters
to convert from one format to another. The parsers can give you back Java objects that
are either specific for the format you want to work with, or a generic normalized
SyndFeed object that lets you work on with the data without bothering about the
underlying format.
package com.rometools.rome.feed.synd.impl;
/**
* Utility class for normalizing an URI as specified in RFC 2396bis.
*
*
* @author Alejandro Abdelnur
*/
public class URINormalizer {
/**
* Normalizes an URI as specified in RFC 2396bis.
*
*
* @param uri to normalize.
* @return the normalized value of the given URI, or null if the given URI was
* null.
*/
public static String normalize(final String uri) {
String normalizedUri = null;
if (uri != null) {
normalizedUri = uri; // TODO THIS HAS TO BE IMPLEMENTED
}
return normalizedUri;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy