migratool.access
Class Extractor

java.lang.Object
  extended by migratool.access.Extractor

public class Extractor
extends java.lang.Object

MIGRATOOL Program to migrate spatial databsets. Copyright (C) 2007 Fábio Luiz Leite Júnior Universidade Federal de Campina Grande contact: fabioleite@gmail.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author:
fabio Classe que acessa os dados do banco de dados fonte

Method Summary
 void closeConnection(java.sql.Connection con)
          M�todo utilizado para fechar uma conex�o
 java.sql.Connection getConnection()
          M�todo utilizado para obten��o de uma conex�o com o Oracle
static Extractor getInstance()
          M�todo do Singleton
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Extractor getInstance()
M�todo do Singleton

Returns:
A inst�ncia �nica

getConnection

public java.sql.Connection getConnection()
M�todo utilizado para obten��o de uma conex�o com o Oracle

Parameters:
dataSource - A fonte de dados espec�fica (que BD do SGBD)
Returns:
A conex�o

closeConnection

public void closeConnection(java.sql.Connection con)
M�todo utilizado para fechar uma conex�o

Parameters:
con - A conex�o a ser fechada

main

public static void main(java.lang.String[] args)


Copyright © 2005-2007 InteliGIS. All Rights Reserved.