587 lines
		
	
	
	
		
			17 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			587 lines
		
	
	
	
		
			17 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| 
								 | 
							
								<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
							 | 
						||
| 
								 | 
							
								<!--NewPage-->
							 | 
						||
| 
								 | 
							
								<HTML>
							 | 
						||
| 
								 | 
							
								<HEAD>
							 | 
						||
| 
								 | 
							
								<TITLE>
							 | 
						||
| 
								 | 
							
								jala.Utilities
							 | 
						||
| 
								 | 
							
								</TITLE>
							 | 
						||
| 
								 | 
							
								<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
							 | 
						||
| 
								 | 
							
								</HEAD>
							 | 
						||
| 
								 | 
							
								<SCRIPT>
							 | 
						||
| 
								 | 
							
								function asd()
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								parent.document.title="jala.Utilities";
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								</SCRIPT>
							 | 
						||
| 
								 | 
							
								<BODY BGCOLOR="white" onload="asd();">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========== START OF NAVBAR ========== -->
							 | 
						||
| 
								 | 
							
								<A NAME="navbar_bottom"><!-- --></A>
							 | 
						||
| 
								 | 
							
								<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
							 | 
						||
| 
								 | 
							
								<TR>
							 | 
						||
| 
								 | 
							
								<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
							 | 
						||
| 
								 | 
							
								<A NAME="navbar_bottom_firstrow"><!-- --></A>
							 | 
						||
| 
								 | 
							
								<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
							 | 
						||
| 
								 | 
							
								  <TR ALIGN="center" VALIGN="top">
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <A HREF="overview-summary-Utilities.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A> </TD>
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
							 | 
						||
| 
								 | 
							
								  <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!-- </TD-->
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
							 | 
						||
| 
								 | 
							
								  </TR>
							 | 
						||
| 
								 | 
							
								</TABLE>
							 | 
						||
| 
								 | 
							
								</TD>
							 | 
						||
| 
								 | 
							
								<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
							 | 
						||
| 
								 | 
							
								<B>Jala 1.3</B>
							 | 
						||
| 
								 | 
							
								</EM>
							 | 
						||
| 
								 | 
							
								</TD
							 | 
						||
| 
								 | 
							
								</TR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<TR>
							 | 
						||
| 
								 | 
							
								<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
							 | 
						||
| 
								 | 
							
								 <A HREF="jala.Rss20Writer.html"><B>PREV CLASS</B></A><!-- 
							 | 
						||
| 
								 | 
							
								   NEXT CLASS 
							 | 
						||
| 
								 | 
							
								-->
							 | 
						||
| 
								 | 
							
								 <A HREF="jala.XmlRpcRequest.html"><B>NEXT CLASS</B></A></FONT></TD>
							 | 
						||
| 
								 | 
							
								<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
							 | 
						||
| 
								 | 
							
								  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>   
							 | 
						||
| 
								 | 
							
								 <A HREF="jala.Utilities.html" TARGET="_top"><B>NO FRAMES</B></A>   
							 | 
						||
| 
								 | 
							
								 
							 | 
						||
| 
								 | 
							
								<SCRIPT>
							 | 
						||
| 
								 | 
							
								  <!--
							 | 
						||
| 
								 | 
							
								  if(window==top) {
							 | 
						||
| 
								 | 
							
								    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								  //-->
							 | 
						||
| 
								 | 
							
								</SCRIPT>
							 | 
						||
| 
								 | 
							
								<NOSCRIPT>
							 | 
						||
| 
								 | 
							
								<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
							 | 
						||
| 
								 | 
							
								</NOSCRIPT>
							 | 
						||
| 
								 | 
							
								</FONT></TD>
							 | 
						||
| 
								 | 
							
								</TR>
							 | 
						||
| 
								 | 
							
								<TR>
							 | 
						||
| 
								 | 
							
								<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
							 | 
						||
| 
								 | 
							
								  SUMMARY: <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
							 | 
						||
| 
								 | 
							
								<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
							 | 
						||
| 
								 | 
							
								DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
							 | 
						||
| 
								 | 
							
								</TR>
							 | 
						||
| 
								 | 
							
								</TABLE>
							 | 
						||
| 
								 | 
							
								<!-- =========== END OF NAVBAR =========== -->
							 | 
						||
| 
								 | 
							
								<HR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ======== START OF CLASS DATA ======== -->
							 | 
						||
| 
								 | 
							
								<H2>Class jala.Utilities</H2>
							 | 
						||
| 
								 | 
							
								<PRE>Object
							 | 
						||
| 
								 | 
							
								   |
							 | 
						||
| 
								 | 
							
								   +--<b>jala.Utilities</b>
							 | 
						||
| 
								 | 
							
								</PRE>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<HR>
							 | 
						||
| 
								 | 
							
								<DL>
							 | 
						||
| 
								 | 
							
								   <!-- Class definition -->
							 | 
						||
| 
								 | 
							
								   <DT>class 
							 | 
						||
| 
								 | 
							
								   <B>jala.Utilities</B>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</DL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <P>
							 | 
						||
| 
								 | 
							
								   <BR/>This class contains various convenience methods
							 | 
						||
| 
								 | 
							
								 which do not fit in any other class.
							 | 
						||
| 
								 | 
							
								 <BR/><I>Defined in <a href='overview-summary-Utilities.js.html'>Utilities.js</a></I><BR/><BR/>
							 | 
						||
| 
								 | 
							
								   </P>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <HR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ======== NESTED CLASS SUMMARY ======== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ======== END NESTED CLASS SUMMARY ======== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- =========== FIELD SUMMARY =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <A NAME="field_summary"><!-- --></A>
							 | 
						||
| 
								 | 
							
								      <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
							 | 
						||
| 
								 | 
							
								         <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
							 | 
						||
| 
								 | 
							
								            <TD COLSPAN=2><FONT SIZE="+2">
							 | 
						||
| 
								 | 
							
								               <B>Field Summary</B></FONT></TD>
							 | 
						||
| 
								 | 
							
								         </TR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <!-- This is one instance field summary -->
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <TR BGCOLOR="white" CLASS="TableRowColor">
							 | 
						||
| 
								 | 
							
								   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
							 | 
						||
| 
								 | 
							
								   <CODE><static>  <final> Number</CODE></FONT></TD>
							 | 
						||
| 
								 | 
							
								   <TD><CODE><B><A HREF="#!s!VALUE_ADDED">VALUE_ADDED</A></B></CODE>
							 | 
						||
| 
								 | 
							
								   <BR>
							 | 
						||
| 
								 | 
							
								             Static field indicating ad added object property.</TD>
							 | 
						||
| 
								 | 
							
								   </TR>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <TR BGCOLOR="white" CLASS="TableRowColor">
							 | 
						||
| 
								 | 
							
								   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
							 | 
						||
| 
								 | 
							
								   <CODE><static>  <final> Number</CODE></FONT></TD>
							 | 
						||
| 
								 | 
							
								   <TD><CODE><B><A HREF="#!s!VALUE_MODIFIED">VALUE_MODIFIED</A></B></CODE>
							 | 
						||
| 
								 | 
							
								   <BR>
							 | 
						||
| 
								 | 
							
								             Static field indicating a modified object property.</TD>
							 | 
						||
| 
								 | 
							
								   </TR>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <TR BGCOLOR="white" CLASS="TableRowColor">
							 | 
						||
| 
								 | 
							
								   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
							 | 
						||
| 
								 | 
							
								   <CODE><static>  <final> Number</CODE></FONT></TD>
							 | 
						||
| 
								 | 
							
								   <TD><CODE><B><A HREF="#!s!VALUE_REMOVED">VALUE_REMOVED</A></B></CODE>
							 | 
						||
| 
								 | 
							
								   <BR>
							 | 
						||
| 
								 | 
							
								             Static field indicating a removed object property.</TD>
							 | 
						||
| 
								 | 
							
								   </TR>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   </TABLE>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- =========== END FIELD SUMMARY =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ======== CONSTRUCTOR SUMMARY ======== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<A NAME="constructor_summary"><!-- --></A>
							 | 
						||
| 
								 | 
							
								<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
							 | 
						||
| 
								 | 
							
								<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
							 | 
						||
| 
								 | 
							
								<TD COLSPAN=2><FONT SIZE="+2">
							 | 
						||
| 
								 | 
							
								<B>Constructor Summary</B></FONT></TD>
							 | 
						||
| 
								 | 
							
								</TR>
							 | 
						||
| 
								 | 
							
								<TR BGCOLOR="white" CLASS="TableRowColor">
							 | 
						||
| 
								 | 
							
								   <TD>
							 | 
						||
| 
								 | 
							
								      <CODE>
							 | 
						||
| 
								 | 
							
									 <B>
							 | 
						||
| 
								 | 
							
									    <A HREF="jala.Utilities.html#jala.Utilities()">jala.Utilities</A> 
							 | 
						||
| 
								 | 
							
									 </B>
							 | 
						||
| 
								 | 
							
									 ()
							 | 
						||
| 
								 | 
							
								      </CODE>
							 | 
						||
| 
								 | 
							
								      <BR>
							 | 
						||
| 
								 | 
							
								                 
							 | 
						||
| 
								 | 
							
								      Construct a utility object.
							 | 
						||
| 
								 | 
							
								      </TD>
							 | 
						||
| 
								 | 
							
								</TR>
							 | 
						||
| 
								 | 
							
								</TABLE>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								 
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========== METHOD SUMMARY =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<A NAME="method_summary"><!-- --></A>
							 | 
						||
| 
								 | 
							
								<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
							 | 
						||
| 
								 | 
							
								<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
							 | 
						||
| 
								 | 
							
								<TD COLSPAN=2><FONT SIZE="+2">
							 | 
						||
| 
								 | 
							
								<B>Method Summary</B></FONT></TD>
							 | 
						||
| 
								 | 
							
								</TR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <TR BGCOLOR="white" CLASS="TableRowColor">
							 | 
						||
| 
								 | 
							
								      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
							 | 
						||
| 
								 | 
							
									 <FONT SIZE="-1">
							 | 
						||
| 
								 | 
							
									    <CODE> String</CODE>
							 | 
						||
| 
								 | 
							
									 </FONT>
							 | 
						||
| 
								 | 
							
								      </TD>
							 | 
						||
| 
								 | 
							
								      <TD>
							 | 
						||
| 
								 | 
							
									 <CODE>
							 | 
						||
| 
								 | 
							
									    <B>
							 | 
						||
| 
								 | 
							
									       <A HREF="#createPassword">createPassword</A></B>(<Number> len, <Number> level)
							 | 
						||
| 
								 | 
							
									 </CODE>
							 | 
						||
| 
								 | 
							
									 <BR>
							 | 
						||
| 
								 | 
							
									           
							 | 
						||
| 
								 | 
							
									 Creates a random password with different levels of security.
							 | 
						||
| 
								 | 
							
								      </TD>
							 | 
						||
| 
								 | 
							
								   </TR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <TR BGCOLOR="white" CLASS="TableRowColor">
							 | 
						||
| 
								 | 
							
								      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
							 | 
						||
| 
								 | 
							
									 <FONT SIZE="-1">
							 | 
						||
| 
								 | 
							
									    <CODE> Object</CODE>
							 | 
						||
| 
								 | 
							
									 </FONT>
							 | 
						||
| 
								 | 
							
								      </TD>
							 | 
						||
| 
								 | 
							
								      <TD>
							 | 
						||
| 
								 | 
							
									 <CODE>
							 | 
						||
| 
								 | 
							
									    <B>
							 | 
						||
| 
								 | 
							
									       <A HREF="#diffObjects">diffObjects</A></B>(<Object> obj1, <Object> obj2)
							 | 
						||
| 
								 | 
							
									 </CODE>
							 | 
						||
| 
								 | 
							
									 <BR>
							 | 
						||
| 
								 | 
							
									           
							 | 
						||
| 
								 | 
							
									 Returns an array containing the properties that are 
							 | 
						||
| 
								 | 
							
								 added, removed or modified in one object compared to another.
							 | 
						||
| 
								 | 
							
								      </TD>
							 | 
						||
| 
								 | 
							
								   </TR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <TR BGCOLOR="white" CLASS="TableRowColor">
							 | 
						||
| 
								 | 
							
								      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
							 | 
						||
| 
								 | 
							
									 <FONT SIZE="-1">
							 | 
						||
| 
								 | 
							
									    <CODE> Object</CODE>
							 | 
						||
| 
								 | 
							
									 </FONT>
							 | 
						||
| 
								 | 
							
								      </TD>
							 | 
						||
| 
								 | 
							
								      <TD>
							 | 
						||
| 
								 | 
							
									 <CODE>
							 | 
						||
| 
								 | 
							
									    <B>
							 | 
						||
| 
								 | 
							
									       <A HREF="#patchObject">patchObject</A></B>(<Object> obj, <Object> diff)
							 | 
						||
| 
								 | 
							
									 </CODE>
							 | 
						||
| 
								 | 
							
									 <BR>
							 | 
						||
| 
								 | 
							
									           
							 | 
						||
| 
								 | 
							
									 Patches an object with a "diff" object created by the 
							 | 
						||
| 
								 | 
							
								 <a href="#diffObjects">diffObjects()</a> method.
							 | 
						||
| 
								 | 
							
								      </TD>
							 | 
						||
| 
								 | 
							
								   </TR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <TR BGCOLOR="white" CLASS="TableRowColor">
							 | 
						||
| 
								 | 
							
								      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
							 | 
						||
| 
								 | 
							
									 <FONT SIZE="-1">
							 | 
						||
| 
								 | 
							
									    <CODE> String</CODE>
							 | 
						||
| 
								 | 
							
									 </FONT>
							 | 
						||
| 
								 | 
							
								      </TD>
							 | 
						||
| 
								 | 
							
								      <TD>
							 | 
						||
| 
								 | 
							
									 <CODE>
							 | 
						||
| 
								 | 
							
									    <B>
							 | 
						||
| 
								 | 
							
									       <A HREF="#toString">toString</A></B>()
							 | 
						||
| 
								 | 
							
									 </CODE>
							 | 
						||
| 
								 | 
							
									 <BR>
							 | 
						||
| 
								 | 
							
									           
							 | 
						||
| 
								 | 
							
									 Return a string representation of the utitility object.
							 | 
						||
| 
								 | 
							
								      </TD>
							 | 
						||
| 
								 | 
							
								   </TR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</TABLE>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<P>
							 | 
						||
| 
								 | 
							
								<!-- ========== END METHOD SUMMARY =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ============ FIELD DETAIL START =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <A NAME="field_detail"><!-- --></A>
							 | 
						||
| 
								 | 
							
								   <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
							 | 
						||
| 
								 | 
							
								      <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
							 | 
						||
| 
								 | 
							
								         <TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
							 | 
						||
| 
								 | 
							
								      </TR>
							 | 
						||
| 
								 | 
							
								   </TABLE>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <A NAME="!s!VALUE_ADDED"><!-- --></A>
							 | 
						||
| 
								 | 
							
								   <H3>VALUE_ADDED</H3>
							 | 
						||
| 
								 | 
							
								   <PRE><static> <final> Number <B>VALUE_ADDED</B></PRE>
							 | 
						||
| 
								 | 
							
								   <UL>
							 | 
						||
| 
								 | 
							
								   Static field indicating ad added object property.
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								    <P>
							 | 
						||
| 
								 | 
							
								    <DL>
							 | 
						||
| 
								 | 
							
								    <DT><B>See Also:</B><DD><A HREF="constant-values.html#java.awt.AWTEvent.COMPONENT_EVENT_MASK">Constant Field Values</A></DL>
							 | 
						||
| 
								 | 
							
								    </DL>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								   <HR>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <A NAME="!s!VALUE_MODIFIED"><!-- --></A>
							 | 
						||
| 
								 | 
							
								   <H3>VALUE_MODIFIED</H3>
							 | 
						||
| 
								 | 
							
								   <PRE><static> <final> Number <B>VALUE_MODIFIED</B></PRE>
							 | 
						||
| 
								 | 
							
								   <UL>
							 | 
						||
| 
								 | 
							
								   Static field indicating a modified object property.
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								    <P>
							 | 
						||
| 
								 | 
							
								    <DL>
							 | 
						||
| 
								 | 
							
								    <DT><B>See Also:</B><DD><A HREF="constant-values.html#java.awt.AWTEvent.COMPONENT_EVENT_MASK">Constant Field Values</A></DL>
							 | 
						||
| 
								 | 
							
								    </DL>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								   <HR>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <A NAME="!s!VALUE_REMOVED"><!-- --></A>
							 | 
						||
| 
								 | 
							
								   <H3>VALUE_REMOVED</H3>
							 | 
						||
| 
								 | 
							
								   <PRE><static> <final> Number <B>VALUE_REMOVED</B></PRE>
							 | 
						||
| 
								 | 
							
								   <UL>
							 | 
						||
| 
								 | 
							
								   Static field indicating a removed object property.
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								    <P>
							 | 
						||
| 
								 | 
							
								    <DL>
							 | 
						||
| 
								 | 
							
								    <DT><B>See Also:</B><DD><A HREF="constant-values.html#java.awt.AWTEvent.COMPONENT_EVENT_MASK">Constant Field Values</A></DL>
							 | 
						||
| 
								 | 
							
								    </DL>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								   <HR>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ============ FIELD DETAIL END =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!-- ========= CONSTRUCTOR DETAIL START ======== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<A NAME="constructor_detail"><!-- --></A>
							 | 
						||
| 
								 | 
							
								<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
							 | 
						||
| 
								 | 
							
								   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
							 | 
						||
| 
								 | 
							
								      <TD COLSPAN=1>
							 | 
						||
| 
								 | 
							
								      <FONT SIZE="+2"><B>Constructor Detail</B></FONT>
							 | 
						||
| 
								 | 
							
								      </TD>
							 | 
						||
| 
								 | 
							
								   </TR>
							 | 
						||
| 
								 | 
							
								</TABLE>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<A NAME="jala.Utilities()"><!-- --></A><H3>
							 | 
						||
| 
								 | 
							
								jala.Utilities</H3>
							 | 
						||
| 
								 | 
							
								<PRE><B>jala.Utilities</B>()</PRE>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<UL>
							 | 
						||
| 
								 | 
							
								   Construct a utility object.
							 | 
						||
| 
								 | 
							
								</UL>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- Constructor return value(s) -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <UL>
							 | 
						||
| 
								 | 
							
								   <B>Returns:</B>
							 | 
						||
| 
								 | 
							
								     <UL>
							 | 
						||
| 
								 | 
							
								     A new utitilty object.   
							 | 
						||
| 
								 | 
							
								     </UL>
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- End constructor return value(s) -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ADDITIONAL ATTRIBUTES -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<HR/>
							 | 
						||
| 
								 | 
							
								<!-- END ADDITIONAL ATTRIBUTES  -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========= CONSTRUCTOR DETAIL END ======== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ============ METHOD DETAIL START ========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<A NAME="method_detail"><!-- --></A>
							 | 
						||
| 
								 | 
							
								<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
							 | 
						||
| 
								 | 
							
								   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
							 | 
						||
| 
								 | 
							
								      <TD COLSPAN=1><FONT SIZE="+2">
							 | 
						||
| 
								 | 
							
								         <B>Method Detail</B></FONT>
							 | 
						||
| 
								 | 
							
								      </TD>
							 | 
						||
| 
								 | 
							
								   </TR>
							 | 
						||
| 
								 | 
							
								</TABLE>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- One single method detail entry -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <A NAME="createPassword"><!-- --></A>
							 | 
						||
| 
								 | 
							
								   <H3>createPassword</H3>
							 | 
						||
| 
								 | 
							
								   <PRE>String <B>createPassword</B>(<Number> len, <Number> level)</PRE>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								      <UL>Creates a random password with different levels of security.</UL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <!-- METHOD PARAMETERS START -->
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <UL>
							 | 
						||
| 
								 | 
							
								   <B>Parameters:</B>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								     <UL><CODE>len</CODE> -  The length of the password (default: 8)  
							 | 
						||
| 
								 | 
							
								      </UL> 
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								     <UL><CODE>level</CODE> -  The security level  <ul>  <li>0 - containing only vowels or consonants (default)</li>  <li>1 - throws in a number at random position</li>  <li>2 - throws in a number and a special character at random position</li>  </ul>  
							 | 
						||
| 
								 | 
							
								      </UL> 
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <!-- METHOD PARAMETERS END -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <UL>
							 | 
						||
| 
								 | 
							
								   <B>Returns:</B>
							 | 
						||
| 
								 | 
							
								        <UL>
							 | 
						||
| 
								 | 
							
								        The resulting password   
							 | 
						||
| 
								 | 
							
								        </UL>
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <!-- ADDITIONAL ATTRIBUTES START -->
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <!-- ADDITIONAL ATTRIBUTES  END -->
							 | 
						||
| 
								 | 
							
								<HR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <A NAME="diffObjects"><!-- --></A>
							 | 
						||
| 
								 | 
							
								   <H3>diffObjects</H3>
							 | 
						||
| 
								 | 
							
								   <PRE>Object <B>diffObjects</B>(<Object> obj1, <Object> obj2)</PRE>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								      <UL>Returns an array containing the properties that are 
							 | 
						||
| 
								 | 
							
								 added, removed or modified in one object compared to another.</UL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <!-- METHOD PARAMETERS START -->
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <UL>
							 | 
						||
| 
								 | 
							
								   <B>Parameters:</B>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								     <UL><CODE>obj1</CODE> -  The first of two objects which should be compared  
							 | 
						||
| 
								 | 
							
								      </UL> 
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								     <UL><CODE>obj2</CODE> -  The second of two objects which should be compared  
							 | 
						||
| 
								 | 
							
								      </UL> 
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <!-- METHOD PARAMETERS END -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <UL>
							 | 
						||
| 
								 | 
							
								   <B>Returns:</B>
							 | 
						||
| 
								 | 
							
								        <UL>
							 | 
						||
| 
								 | 
							
								        An Object containing all properties that are added, removed  or modified in the second object compared to the first.   Each property contains a status field with an integer value   which can be checked against the static jala.Utility fields   VALUE_ADDED, VALUE_MODIFIED and VALUE_REMOVED.   
							 | 
						||
| 
								 | 
							
								        </UL>
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <!-- ADDITIONAL ATTRIBUTES START -->
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <!-- ADDITIONAL ATTRIBUTES  END -->
							 | 
						||
| 
								 | 
							
								<HR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <A NAME="patchObject"><!-- --></A>
							 | 
						||
| 
								 | 
							
								   <H3>patchObject</H3>
							 | 
						||
| 
								 | 
							
								   <PRE>Object <B>patchObject</B>(<Object> obj, <Object> diff)</PRE>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								      <UL>Patches an object with a "diff" object created by the 
							 | 
						||
| 
								 | 
							
								 <a href="#diffObjects">diffObjects()</a> method.
							 | 
						||
| 
								 | 
							
								 Please mind that this method is recursive, it descends
							 | 
						||
| 
								 | 
							
								 along the "diff" object structure.</UL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <!-- METHOD PARAMETERS START -->
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <UL>
							 | 
						||
| 
								 | 
							
								   <B>Parameters:</B>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								     <UL><CODE>obj</CODE> -  The Object the diff should be applied to  
							 | 
						||
| 
								 | 
							
								      </UL> 
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								     <UL><CODE>diff</CODE> -  A "diff" object created by the <a href="#diffObjects">diffObjects()</a> method  
							 | 
						||
| 
								 | 
							
								      </UL> 
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <!-- METHOD PARAMETERS END -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <UL>
							 | 
						||
| 
								 | 
							
								   <B>Returns:</B>
							 | 
						||
| 
								 | 
							
								        <UL>
							 | 
						||
| 
								 | 
							
								        The patched Object with all differences applied   
							 | 
						||
| 
								 | 
							
								        </UL>
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <!-- ADDITIONAL ATTRIBUTES START -->
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <!-- ADDITIONAL ATTRIBUTES  END -->
							 | 
						||
| 
								 | 
							
								<HR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <A NAME="toString"><!-- --></A>
							 | 
						||
| 
								 | 
							
								   <H3>toString</H3>
							 | 
						||
| 
								 | 
							
								   <PRE>String <B>toString</B>()</PRE>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								      <UL>Return a string representation of the utitility object.</UL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <!-- METHOD PARAMETERS START -->
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <!-- METHOD PARAMETERS END -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <UL>
							 | 
						||
| 
								 | 
							
								   <B>Returns:</B>
							 | 
						||
| 
								 | 
							
								        <UL>
							 | 
						||
| 
								 | 
							
								        [jala.Utilities Object]   
							 | 
						||
| 
								 | 
							
								        </UL>
							 | 
						||
| 
								 | 
							
								   </UL>
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <!-- ADDITIONAL ATTRIBUTES START -->
							 | 
						||
| 
								 | 
							
								   
							 | 
						||
| 
								 | 
							
								   <!-- ADDITIONAL ATTRIBUTES  END -->
							 | 
						||
| 
								 | 
							
								<HR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ============ METHOD DETAIL END ========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========= END OF CLASS DATA ========= -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- ========== START OF NAVBAR ========== -->
							 | 
						||
| 
								 | 
							
								<A NAME="navbar_bottom"><!-- --></A>
							 | 
						||
| 
								 | 
							
								<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
							 | 
						||
| 
								 | 
							
								<TR>
							 | 
						||
| 
								 | 
							
								<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
							 | 
						||
| 
								 | 
							
								<A NAME="navbar_bottom_firstrow"><!-- --></A>
							 | 
						||
| 
								 | 
							
								<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
							 | 
						||
| 
								 | 
							
								  <TR ALIGN="center" VALIGN="top">
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <A HREF="overview-summary-Utilities.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A> </TD>
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A> </TD>
							 | 
						||
| 
								 | 
							
								  <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!-- </TD-->
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
							 | 
						||
| 
								 | 
							
								  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
							 | 
						||
| 
								 | 
							
								  </TR>
							 | 
						||
| 
								 | 
							
								</TABLE>
							 | 
						||
| 
								 | 
							
								</TD>
							 | 
						||
| 
								 | 
							
								<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
							 | 
						||
| 
								 | 
							
								<B>Jala 1.3</B>
							 | 
						||
| 
								 | 
							
								</EM>
							 | 
						||
| 
								 | 
							
								</TD
							 | 
						||
| 
								 | 
							
								</TR>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<TR>
							 | 
						||
| 
								 | 
							
								<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
							 | 
						||
| 
								 | 
							
								 <A HREF="jala.Rss20Writer.html"><B>PREV CLASS</B></A><!-- 
							 | 
						||
| 
								 | 
							
								   NEXT CLASS 
							 | 
						||
| 
								 | 
							
								-->
							 | 
						||
| 
								 | 
							
								 <A HREF="jala.XmlRpcRequest.html"><B>NEXT CLASS</B></A></FONT></TD>
							 | 
						||
| 
								 | 
							
								<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
							 | 
						||
| 
								 | 
							
								  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>   
							 | 
						||
| 
								 | 
							
								 <A HREF="jala.Utilities.html" TARGET="_top"><B>NO FRAMES</B></A>   
							 | 
						||
| 
								 | 
							
								 
							 | 
						||
| 
								 | 
							
								<SCRIPT>
							 | 
						||
| 
								 | 
							
								  <!--
							 | 
						||
| 
								 | 
							
								  if(window==top) {
							 | 
						||
| 
								 | 
							
								    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								  //-->
							 | 
						||
| 
								 | 
							
								</SCRIPT>
							 | 
						||
| 
								 | 
							
								<NOSCRIPT>
							 | 
						||
| 
								 | 
							
								<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
							 | 
						||
| 
								 | 
							
								</NOSCRIPT>
							 | 
						||
| 
								 | 
							
								</FONT></TD>
							 | 
						||
| 
								 | 
							
								</TR>
							 | 
						||
| 
								 | 
							
								<TR>
							 | 
						||
| 
								 | 
							
								<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
							 | 
						||
| 
								 | 
							
								  SUMMARY: <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
							 | 
						||
| 
								 | 
							
								<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
							 | 
						||
| 
								 | 
							
								DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
							 | 
						||
| 
								 | 
							
								</TR>
							 | 
						||
| 
								 | 
							
								</TABLE>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- =========== END OF NAVBAR =========== -->
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<HR>
							 | 
						||
| 
								 | 
							
								<FONT SIZE="-1">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</FONT>
							 | 
						||
| 
								 | 
							
								<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Tue Jan  8 15:45:31 2008</div>
							 | 
						||
| 
								 | 
							
								</BODY>
							 | 
						||
| 
								 | 
							
								</HTML>
							 |