File:  [Repository] / FM2SQL / doc / javadoc / index-all.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Oct 2 19:47:23 2006 UTC (17 years, 8 months ago) by casties
Branches: MAIN
CVS tags: HEAD
- reorganisation of project files
- fixed bug with initialisation of fm8 jdbc driver

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Jul 25 10:50:41 CEST 2003 -->
<TITLE>
: Index
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-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="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&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;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_M_">M</A> <A HREF="#_O_">O</A> <A HREF="#_Q_">Q</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_W_">W</A> <HR>
<A NAME="_A_"><!-- --></A><H2>
<B>A</B></H2>
<DL>
<DT><A HREF="FM.html#actionPerformed(java.awt.event.ActionEvent)"><B>actionPerformed(ActionEvent)</B></A> - 
Method in class <A HREF="FM.html">FM</A>
<DD>&nbsp;
<DT><A HREF="FM.html#appendLog(java.lang.String, java.lang.String)"><B>appendLog(String, String)</B></A> - 
Static method in class <A HREF="FM.html">FM</A>
<DD>Append one entry to the log file(index.html)
</DL>
<HR>
<A NAME="_C_"><!-- --></A><H2>
<B>C</B></H2>
<DL>
<DT><A HREF="TableComponent.html#clear()"><B>clear()</B></A> - 
Method in class <A HREF="TableComponent.html">TableComponent</A>
<DD>&nbsp;
<DT><A HREF="FM.html#closeLog()"><B>closeLog()</B></A> - 
Static method in class <A HREF="FM.html">FM</A>
<DD>closes the log file invoked then the application closes
<DT><A HREF="TableComponent.html#convertUml(java.lang.StringBuffer)"><B>convertUml(StringBuffer)</B></A> - 
Static method in class <A HREF="TableComponent.html">TableComponent</A>
<DD>MacOs and Windows Version of the Method 
 converts german umlaute to html &umlaute;
</DL>
<HR>
<A NAME="_D_"><!-- --></A><H2>
<B>D</B></H2>
<DL>
<DT><A HREF="DBBean.html"><B>DBBean</B></A> - class <A HREF="DBBean.html">DBBean</A>.<DD>DBBean - Database bean

 a Javabean  to perform queries on a JDBC Database, 
 or excute any other SQL statement
 
 
 Usage:  
 
   DBean bean = new DBBean();
 // setting user and passwd 
  bean.setUserAndPasswd("bla","bla");
  try 
  {
    bean.setConnection("jdbc:fmpro:http://localhost");
    Vector names=bean.getTableNames();
    Vector[] result=bean.getQueryData(names.get(0).toString());
  // print results to screen
     for(int i=0;i&lt;result[1].size();++i)
     {
       //print Header
       System.out.print(" "+result[1].get(i));
     }
  System.out.println();
  for(int j=0;j&lt;result[0].size();++j)
  {
     Vector row=(Vector)result[0].get(j);
     //print rows
     for(int k=0;k&lt;row.size();++k)
     System.out.print(" "+row.get(k));
     System.out.println();
  }
 } catch(Exception e) 
   {
     System.out.println("Error while connecting to database"+ e);
   }
 

 <DT><A HREF="DBBean.html#DBBean()"><B>DBBean()</B></A> - 
Constructor for class <A HREF="DBBean.html">DBBean</A>
<DD>Constructs a database bean
<DT><A HREF="DBBean.html#DBBean(java.lang.String)"><B>DBBean(String)</B></A> - 
Constructor for class <A HREF="DBBean.html">DBBean</A>
<DD>Constructs a database bean
 and tries to connect to database 
specified in the jdbcConnectionURL
<DT><A HREF="DBFront.html"><B>DBFront</B></A> - class <A HREF="DBFront.html">DBFront</A>.<DD>&nbsp;<DT><A HREF="DBFront.html#DBFront()"><B>DBFront()</B></A> - 
Constructor for class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="TableComponent.html#disable(boolean)"><B>disable(boolean)</B></A> - 
Method in class <A HREF="TableComponent.html">TableComponent</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="_E_"><!-- --></A><H2>
<B>E</B></H2>
<DL>
<DT><A HREF="TableComponent.html#enlarge(int, int)"><B>enlarge(int, int)</B></A> - 
Method in class <A HREF="TableComponent.html">TableComponent</A>
<DD>&nbsp;
<DT><A HREF="ResultWindow.html#exportQueryToHTML(java.lang.String)"><B>exportQueryToHTML(String)</B></A> - 
Method in class <A HREF="ResultWindow.html">ResultWindow</A>
<DD>exports the current results to HTML
<DT><A HREF="TableComponent.html#exportToHTML()"><B>exportToHTML()</B></A> - 
Method in class <A HREF="TableComponent.html">TableComponent</A>
<DD>exports the current data in this tablecomponent to HTML
</DL>
<HR>
<A NAME="_F_"><!-- --></A><H2>
<B>F</B></H2>
<DL>
<DT><A HREF="FM.html"><B>FM</B></A> - class <A HREF="FM.html">FM</A>.<DD><br> 
 FileMaker Test (JDBC Database Driver Test)
 Main class :  
 contains the main Frame, all event handlers etc
 <br>
 The Database access is made over DBBean class
 all other classes are just for the visualization of the data<DT><A HREF="FM.html#FM()"><B>FM()</B></A> - 
Constructor for class <A HREF="FM.html">FM</A>
<DD>tries to connect to database specified in url-Variable.
 initializes all GUI components, then fails throws an exception
</DL>
<HR>
<A NAME="_G_"><!-- --></A><H2>
<B>G</B></H2>
<DL>
<DT><A HREF="DBBean.html#getColumnNames()"><B>getColumnNames()</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>&nbsp;
<DT><A HREF="DBFront.html#getColumnNames()"><B>getColumnNames()</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="DBBean.html#getConnection()"><B>getConnection()</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>returns the Connection if null creates a new one from the url property.
<DT><A HREF="DBBean.html#getLayoutNames(java.lang.String)"><B>getLayoutNames(String)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>returns a Vector containing the layoutNames for the specified Table
 if the database supports this otherwise Vector containing an empty String
<DT><A HREF="TableComponent.html#getMaxHeaderWidth()"><B>getMaxHeaderWidth()</B></A> - 
Method in class <A HREF="TableComponent.html">TableComponent</A>
<DD>&nbsp;
<DT><A HREF="DBBean.html#getMaxHits()"><B>getMaxHits()</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>gets the maximum number of hits
<DT><A HREF="DBBean.html#getNextRow()"><B>getNextRow()</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>&nbsp;
<DT><A HREF="DBFront.html#getNextRow()"><B>getNextRow()</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="DBFront.html#getQueryData()"><B>getQueryData()</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="DBBean.html#getQueryData(java.lang.String)"><B>getQueryData(String)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>Returns the result for select * from table 
   with maxHits = 500 default value
<DT><A HREF="DBBean.html#getQueryData(java.lang.String, int)"><B>getQueryData(String, int)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>Returns the result of the query
    or an Vector array of Vectors containing error messages
<DT><A HREF="DBBean.html#getTableNames()"><B>getTableNames()</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>returns a Vector containing the Tablenames or an error message in the Vector
</DL>
<HR>
<A NAME="_M_"><!-- --></A><H2>
<B>M</B></H2>
<DL>
<DT><A HREF="FM.html#main(java.lang.String[])"><B>main(String[])</B></A> - 
Static method in class <A HREF="FM.html">FM</A>
<DD>&nbsp;
<DT><A HREF="DBBean.html#makeQuery(java.lang.String, int)"><B>makeQuery(String, int)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>makes the database Query 
   with the numberOfHits as maximum
<DT><A HREF="DBBean.html#maxHits"><B>maxHits</B></A> - 
Variable in class <A HREF="DBBean.html">DBBean</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="_O_"><!-- --></A><H2>
<B>O</B></H2>
<DL>
<DT><A HREF="FM.html#openLog()"><B>openLog()</B></A> - 
Static method in class <A HREF="FM.html">FM</A>
<DD>open the log  file (index.html)
</DL>
<HR>
<A NAME="_Q_"><!-- --></A><H2>
<B>Q</B></H2>
<DL>
<DT><A HREF="DBFront.html#query()"><B>query()</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="DBFront.html#query(java.lang.String)"><B>query(String)</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="DBFront.html#query(java.lang.String, java.lang.String)"><B>query(String, String)</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="_R_"><!-- --></A><H2>
<B>R</B></H2>
<DL>
<DT><A HREF="ResultWindow.html"><B>ResultWindow</B></A> - class <A HREF="ResultWindow.html">ResultWindow</A>.<DD>ResultWindow - used to display the results of the query<DT><A HREF="ResultWindow.html#ResultWindow(javax.swing.JFrame)"><B>ResultWindow(JFrame)</B></A> - 
Constructor for class <A HREF="ResultWindow.html">ResultWindow</A>
<DD>Constructs  the result Window with the JFrame argument as parent
</DL>
<HR>
<A NAME="_S_"><!-- --></A><H2>
<B>S</B></H2>
<DL>
<DT><A HREF="DBBean.html#setConnection(java.lang.String)"><B>setConnection(String)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>sets the connection of this DBBean to the database specified in the url
  property
<DT><A HREF="DBFront.html#setConnection(java.lang.String)"><B>setConnection(String)</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="DBBean.html#setConnection(java.lang.String, java.lang.String, java.lang.String)"><B>setConnection(String, String, String)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>sets the connection of this DBBean to the database specified in the url
 and the url,user and passwd property of this DBBean instance
<DT><A HREF="DBFront.html#setConnection(java.lang.String, java.lang.String, java.lang.String)"><B>setConnection(String, String, String)</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="TableComponent.html#setData(java.lang.Object[][])"><B>setData(Object[][])</B></A> - 
Method in class <A HREF="TableComponent.html">TableComponent</A>
<DD>Fills  the  table  with the array of Objects
<DT><A HREF="TableComponent.html#setEnabled(boolean)"><B>setEnabled(boolean)</B></A> - 
Method in class <A HREF="TableComponent.html">TableComponent</A>
<DD>&nbsp;
<DT><A HREF="DBBean.html#setMaxHits(int)"><B>setMaxHits(int)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>sets the maximum number of hits
<DT><A HREF="DBBean.html#setPasswd(java.lang.String)"><B>setPasswd(String)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>sets the database passwd
<DT><A HREF="DBFront.html#setPasswd(java.lang.String)"><B>setPasswd(String)</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="DBFront.html#setQuery(java.lang.String)"><B>setQuery(String)</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="DBBean.html#setURL(java.lang.String)"><B>setURL(String)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>just  sets the connection URL
<DT><A HREF="DBFront.html#setURL(java.lang.String)"><B>setURL(String)</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="DBFront.html#setUrlAndQuery(java.lang.String, java.lang.String)"><B>setUrlAndQuery(String, String)</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="DBBean.html#setUser(java.lang.String)"><B>setUser(String)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>sets the database user
<DT><A HREF="DBFront.html#setUser(java.lang.String)"><B>setUser(String)</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="DBBean.html#setUserAndPasswd(java.lang.String, java.lang.String)"><B>setUserAndPasswd(String, String)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>sets the database user and passwd
<DT><A HREF="DBFront.html#setUserAndPasswd(java.lang.String, java.lang.String)"><B>setUserAndPasswd(String, String)</B></A> - 
Method in class <A HREF="DBFront.html">DBFront</A>
<DD>&nbsp;
<DT><A HREF="TableComponent.html#sizeToFit(int, int)"><B>sizeToFit(int, int)</B></A> - 
Method in class <A HREF="TableComponent.html">TableComponent</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="_T_"><!-- --></A><H2>
<B>T</B></H2>
<DL>
<DT><A HREF="FM.html#tableChanged(javax.swing.event.TableModelEvent)"><B>tableChanged(TableModelEvent)</B></A> - 
Method in class <A HREF="FM.html">FM</A>
<DD>invoked then the user changes the table or the tableModel changes
<DT><A HREF="TableComponent.html#tableChanged(javax.swing.event.TableModelEvent)"><B>tableChanged(TableModelEvent)</B></A> - 
Method in class <A HREF="TableComponent.html">TableComponent</A>
<DD>&nbsp;
<DT><A HREF="TableComponent.html"><B>TableComponent</B></A> - class <A HREF="TableComponent.html">TableComponent</A>.<DD>Table component<DT><A HREF="TableComponent.html#TableComponent()"><B>TableComponent()</B></A> - 
Constructor for class <A HREF="TableComponent.html">TableComponent</A>
<DD>Constructs an  empty table with default header and  dummy data
<DT><A HREF="DBBean.html#TestDB(java.sql.DatabaseMetaData)"><B>TestDB(DatabaseMetaData)</B></A> - 
Method in class <A HREF="DBBean.html">DBBean</A>
<DD>Test the database drivers features given by the DatabaseMetaData object
<DT><A HREF="FM.html#testQuery(java.lang.String)"><B>testQuery(String)</B></A> - 
Method in class <A HREF="FM.html">FM</A>
<DD>Test the specified Query and display the result
</DL>
<HR>
<A NAME="_U_"><!-- --></A><H2>
<B>U</B></H2>
<DL>
<DT><A HREF="ResultWindow.html#updateResult(java.util.Vector, java.util.Vector)"><B>updateResult(Vector, Vector)</B></A> - 
Method in class <A HREF="ResultWindow.html">ResultWindow</A>
<DD>Fills the table component of this window with new data
</DL>
<HR>
<A NAME="_W_"><!-- --></A><H2>
<B>W</B></H2>
<DL>
<DT><A HREF="ResultWindow.html#writeResult()"><B>writeResult()</B></A> - 
Method in class <A HREF="ResultWindow.html">ResultWindow</A>
<DD>Actual write the result to a file( in HTML)
</DL>
<HR>
<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_M_">M</A> <A HREF="#_O_">O</A> <A HREF="#_Q_">Q</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_W_">W</A> 
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 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">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-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="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&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;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>