⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datasetutils.html

📁 dfdfddfskfjdsklfjksdljflksjfsjlkfdjlksfjkdsjfsdjkflsjkf
💻 HTML
📖 第 1 页 / 共 2 页
字号:
assertEquals</H3>
<PRE>
public static void <B>assertEquals</B>(<A HREF="../../../org/dbunit/dataset/IDataSet.html" title="interface in org.dbunit.dataset">IDataSet</A>&nbsp;expectedDataSet,                                <A HREF="../../../org/dbunit/dataset/IDataSet.html" title="interface in org.dbunit.dataset">IDataSet</A>&nbsp;actualDataSet)                         throws java.lang.Exception</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>Use Assertion.assertEquals</I>
<P>
<DD>Asserts that the two specified dataset are equals. This method ignore the tables order.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="assertEquals(org.dbunit.dataset.ITable, org.dbunit.dataset.ITable)"><!-- --></A><H3>
assertEquals</H3>
<PRE>
public static void <B>assertEquals</B>(<A HREF="../../../org/dbunit/dataset/ITable.html" title="interface in org.dbunit.dataset">ITable</A>&nbsp;expectedTable,                                <A HREF="../../../org/dbunit/dataset/ITable.html" title="interface in org.dbunit.dataset">ITable</A>&nbsp;actualTable)                         throws java.lang.Exception</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>Use Assertion.assertEquals</I>
<P>
<DD>Asserts that the two specified tables are equals. This method ignore the table names, the columns order, the columns data type and the primary keys.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getQualifiedName(java.lang.String, java.lang.String)"><!-- --></A><H3>
getQualifiedName</H3>
<PRE>
public static java.lang.String <B>getQualifiedName</B>(java.lang.String&nbsp;prefix,                                                java.lang.String&nbsp;name)</PRE>
<DL>
<DD>Returns the specified name qualified with the specified prefix. The name is not modified if the prefix is <code>null</code> or if the name is already qualified. <p> Example: <br> <code>getQualifiedName(null, "NAME")</code> returns <code>"NAME"</code>. <code>getQualifiedName("PREFIX", "NAME")</code> returns <code>"PREFIX.NAME"</code> and <code>getQualifiedName("PREFIX2", "PREFIX1.NAME")</code> returns <code>"PREFIX1.NAME"</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - the prefix<DD><CODE>name</CODE> - the name<DT><B>Returns:</B><DD>the qualified name</DL>
</DD>
</DL>
<HR>

<A NAME="getQualifiedName(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
getQualifiedName</H3>
<PRE>
public static java.lang.String <B>getQualifiedName</B>(java.lang.String&nbsp;prefix,                                                java.lang.String&nbsp;name,                                                java.lang.String&nbsp;escapePattern)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getEscapedName(java.lang.String, java.lang.String)"><!-- --></A><H3>
getEscapedName</H3>
<PRE>
public static java.lang.String <B>getEscapedName</B>(java.lang.String&nbsp;name,                                              java.lang.String&nbsp;escapePattern)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getSqlValueString(java.lang.Object, org.dbunit.dataset.datatype.DataType)"><!-- --></A><H3>
getSqlValueString</H3>
<PRE>
public static java.lang.String <B>getSqlValueString</B>(java.lang.Object&nbsp;value,                                                 <A HREF="../../../org/dbunit/dataset/datatype/DataType.html" title="class in org.dbunit.dataset.datatype">DataType</A>&nbsp;dataType)                                          throws <A HREF="../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></PRE>
<DL>
<DD>Returns the specified value as a string to be use in an SQL Statement. For example the string <code>myValue</code> is returned as <code>'myValue'</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the value<DD><CODE>dataType</CODE> - the value data type<DT><B>Returns:</B><DD>the SQL string value<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/dbunit/dataset/datatype/TypeCastException.html" title="class in org.dbunit.dataset.datatype">TypeCastException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getColumn(java.lang.String, org.dbunit.dataset.Column[])"><!-- --></A><H3>
getColumn</H3>
<PRE>
public static <A HREF="../../../org/dbunit/dataset/Column.html" title="class in org.dbunit.dataset">Column</A> <B>getColumn</B>(java.lang.String&nbsp;columnName,                               <A HREF="../../../org/dbunit/dataset/Column.html" title="class in org.dbunit.dataset">Column</A>[]&nbsp;columns)</PRE>
<DL>
<DD>Search and returns the specified column from the specified column array.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>columnName</CODE> - the name of the column to search.<DD><CODE>columns</CODE> - the array of columns from which the column must be searched.<DT><B>Returns:</B><DD>the column or <code>null</code> if the column is not found</DL>
</DD>
</DL>
<HR>

<A NAME="getTables(java.lang.String[], org.dbunit.dataset.IDataSet)"><!-- --></A><H3>
getTables</H3>
<PRE>
public static <A HREF="../../../org/dbunit/dataset/ITable.html" title="interface in org.dbunit.dataset">ITable</A>[] <B>getTables</B>(java.lang.String[]&nbsp;names,                                 <A HREF="../../../org/dbunit/dataset/IDataSet.html" title="interface in org.dbunit.dataset">IDataSet</A>&nbsp;dataSet)                          throws <A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></PRE>
<DL>
<DD>Search and returns the specified tables from the specified dataSet.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>names</CODE> - the names of the tables to search.<DD><CODE>dataSet</CODE> - the dataset from which the tables must be searched.<DT><B>Returns:</B><DD>the tables or an empty array if no tables are found.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getTables(org.dbunit.dataset.IDataSet)"><!-- --></A><H3>
getTables</H3>
<PRE>
public static <A HREF="../../../org/dbunit/dataset/ITable.html" title="interface in org.dbunit.dataset">ITable</A>[] <B>getTables</B>(<A HREF="../../../org/dbunit/dataset/IDataSet.html" title="interface in org.dbunit.dataset">IDataSet</A>&nbsp;dataSet)                          throws <A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></PRE>
<DL>
<DD>Returns the tables from the specified dataset.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getTables(org.dbunit.dataset.ITableIterator)"><!-- --></A><H3>
getTables</H3>
<PRE>
public static <A HREF="../../../org/dbunit/dataset/ITable.html" title="interface in org.dbunit.dataset">ITable</A>[] <B>getTables</B>(<A HREF="../../../org/dbunit/dataset/ITableIterator.html" title="interface in org.dbunit.dataset">ITableIterator</A>&nbsp;iterator)                          throws <A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></PRE>
<DL>
<DD>Returns the tables from the specified iterator.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getReverseTableNames(org.dbunit.dataset.IDataSet)"><!-- --></A><H3>
getReverseTableNames</H3>
<PRE>
public static java.lang.String[] <B>getReverseTableNames</B>(<A HREF="../../../org/dbunit/dataset/IDataSet.html" title="interface in org.dbunit.dataset">IDataSet</A>&nbsp;dataSet)                                               throws <A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></PRE>
<DL>
<DD>Returns the table names from the specified dataset in reverse order.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset">DataSetException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="reverseStringArray(java.lang.String[])"><!-- --></A><H3>
reverseStringArray</H3>
<PRE>
public static java.lang.String[] <B>reverseStringArray</B>(java.lang.String[]&nbsp;array)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DataSetUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../org/dbunit/dataset/DataSetException.html" title="class in org.dbunit.dataset"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/dbunit/dataset/DefaultDataSet.html" title="class in org.dbunit.dataset"><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>  &nbsp;
&nbsp;<A HREF="DataSetUtils.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &copy; 2002-2004 DbUnit.org. All Rights Reserved.
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -