PageRenderTime 33ms CodeModel.GetById 16ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

/doc/com/googlecode/charts4j/UrlUtil.html

http://charts4j.googlecode.com/
HTML | 228 lines | 181 code | 27 blank | 20 comment | 0 complexity | f25dd8dc333dda1641da16b8d6d053e8 MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<!--NewPage-->
  3<HTML>
  4<HEAD>
  5<!-- Generated by javadoc (build 1.5.0_16) on Tue May 19 12:59:31 MDT 2009 -->
  6<TITLE>
  7UrlUtil (charts4j - 1.2)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="com.googlecode.charts4j.UrlUtil class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
 13
 14<SCRIPT type="text/javascript">
 15function windowTitle()
 16{
 17    parent.document.title="UrlUtil (charts4j - 1.2)";
 18}
 19</SCRIPT>
 20<NOSCRIPT>
 21</NOSCRIPT>
 22
 23</HEAD>
 24
 25<BODY BGCOLOR="white" onload="windowTitle();">
 26
 27
 28<!-- ========= START OF TOP NAVBAR ======= -->
 29<A NAME="navbar_top"><!-- --></A>
 30<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 31<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 32<TR>
 33<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 34<A NAME="navbar_top_firstrow"><!-- --></A>
 35<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 36  <TR ALIGN="center" VALIGN="top">
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../com/googlecode/charts4j/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 44  </TR>
 45</TABLE>
 46</TD>
 47<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 48</EM>
 49</TD>
 50</TR>
 51
 52<TR>
 53<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 54&nbsp;<A HREF="../../../com/googlecode/charts4j/TitledChart.ChartTitle.html" title="class in com.googlecode.charts4j"><B>PREV CLASS</B></A>&nbsp;
 55&nbsp;<A HREF="../../../com/googlecode/charts4j/USAState.html" title="class in com.googlecode.charts4j"><B>NEXT CLASS</B></A></FONT></TD>
 56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 57  <A HREF="../../../index.html?com/googlecode/charts4j/UrlUtil.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 58&nbsp;<A HREF="UrlUtil.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 59&nbsp;<SCRIPT type="text/javascript">
 60  <!--
 61  if(window==top) {
 62    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 63  }
 64  //-->
 65</SCRIPT>
 66<NOSCRIPT>
 67  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 68</NOSCRIPT>
 69
 70
 71</FONT></TD>
 72</TR>
 73<TR>
 74<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 75  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 76<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 77DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 78</TR>
 79</TABLE>
 80<A NAME="skip-navbar_top"></A>
 81<!-- ========= END OF TOP NAVBAR ========= -->
 82
 83<HR>
 84<!-- ======== START OF CLASS DATA ======== -->
 85<H2>
 86<FONT SIZE="-1">
 87com.googlecode.charts4j</FONT>
 88<BR>
 89Class UrlUtil</H2>
 90<PRE>
 91<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
 92  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.googlecode.charts4j.UrlUtil</B>
 93</PRE>
 94<HR>
 95<DL>
 96<DT><PRE>public final class <B>UrlUtil</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
 97</PRE>
 98
 99<P>
100Small URL utility class.
101<P>
102
103<P>
104<DL>
105<DT><B>Author:</B></DT>
106  <DD>Julien Chastang (julien.c.chastang at gmail dot com)</DD>
107</DL>
108<HR>
109
110<P>
111
112<!-- ========== METHOD SUMMARY =========== -->
113
114<A NAME="method_summary"><!-- --></A>
115<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
118<B>Method Summary</B></FONT></TH>
119</TR>
120<TR BGCOLOR="white" CLASS="TableRowColor">
121<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
122<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
123<TD><CODE><B><A HREF="../../../com/googlecode/charts4j/UrlUtil.html#normalize(java.lang.String)">normalize</A></B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;s)</CODE>
124
125<BR>
126&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A method that reformats the URL so that the parameters appear in
127 alphabetical order.</TD>
128</TR>
129</TABLE>
130&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
131<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
133<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
137</TR>
138</TABLE>
139&nbsp;
140<P>
141
142<!-- ============ METHOD DETAIL ========== -->
143
144<A NAME="method_detail"><!-- --></A>
145<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
146<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
147<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
148<B>Method Detail</B></FONT></TH>
149</TR>
150</TABLE>
151
152<A NAME="normalize(java.lang.String)"><!-- --></A><H3>
153normalize</H3>
154<PRE>
155public static <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>normalize</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;s)</PRE>
156<DL>
157<DD>A method that reformats the URL so that the parameters appear in
158 alphabetical order. This is useful for comparing URL strings in unit
159 tests, for instance.
160<P>
161<DD><DL>
162<DT><B>Parameters:</B><DD><CODE>s</CODE> - String to be normalized
163<DT><B>Returns:</B><DD>Normalized string</DL>
164</DD>
165</DL>
166<!-- ========= END OF CLASS DATA ========= -->
167<HR>
168
169
170<!-- ======= START OF BOTTOM NAVBAR ====== -->
171<A NAME="navbar_bottom"><!-- --></A>
172<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
173<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
174<TR>
175<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
176<A NAME="navbar_bottom_firstrow"><!-- --></A>
177<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
178  <TR ALIGN="center" VALIGN="top">
179  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
180  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../com/googlecode/charts4j/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
181  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
182  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
183  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
184  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
185  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
186  </TR>
187</TABLE>
188</TD>
189<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
190</EM>
191</TD>
192</TR>
193
194<TR>
195<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
196&nbsp;<A HREF="../../../com/googlecode/charts4j/TitledChart.ChartTitle.html" title="class in com.googlecode.charts4j"><B>PREV CLASS</B></A>&nbsp;
197&nbsp;<A HREF="../../../com/googlecode/charts4j/USAState.html" title="class in com.googlecode.charts4j"><B>NEXT CLASS</B></A></FONT></TD>
198<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
199  <A HREF="../../../index.html?com/googlecode/charts4j/UrlUtil.html" target="_top"><B>FRAMES</B></A>  &nbsp;
200&nbsp;<A HREF="UrlUtil.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
201&nbsp;<SCRIPT type="text/javascript">
202  <!--
203  if(window==top) {
204    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
205  }
206  //-->
207</SCRIPT>
208<NOSCRIPT>
209  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
210</NOSCRIPT>
211
212
213</FONT></TD>
214</TR>
215<TR>
216<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
217  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
218<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
219DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
220</TR>
221</TABLE>
222<A NAME="skip-navbar_bottom"></A>
223<!-- ======== END OF BOTTOM NAVBAR ======= -->
224
225<HR>
226
227</BODY>
228</HTML>