com.mizar.trinidad.components.census
Class Uf1GeoReader

java.lang.Object
  extended by com.mizar.persistence.jpa.facade.JPAFacade
      extended by com.mizar.trinidad.components.census.Uf1GeoReader

public class Uf1GeoReader
extends JPAFacade

User SQLLDR for Oracle loads


Field Summary
 
Fields inherited from class com.mizar.persistence.jpa.facade.JPAFacade
em, emf, model, persistenceUnitName, schemaName, sequencesValidated, silent, verbose
 
Constructor Summary
Uf1GeoReader()
           
 
Method Summary
 java.util.List<ReaderFieldSpec> getFields()
           
 java.lang.String getFileName()
           
 void loadDatabase(javax.faces.event.ActionEvent event)
           
 void loadDatabase(java.lang.String fileName, java.util.List<java.lang.Long> sumlevs)
           
static void main(java.lang.String[] args)
           
 java.io.BufferedReader openFile(java.lang.String fileName)
           
 Uf1Geo readNext(java.io.BufferedReader br, java.util.List<java.lang.Long> sumlevs)
           
 void setFields(java.util.List<ReaderFieldSpec> fields)
           
 void setFileName(java.lang.String folder)
           
 
Methods inherited from class com.mizar.persistence.jpa.facade.JPAFacade
closeEm, closeEm, closeEmf, executeDDL, executeNativeUpdate, executeNativeUpdate, executeUpdate, getClosableConnectionAccessor, getConnection, getConnection, getEm, getEm, getEmf, getEmf, getLogger, getPassword, getPassword, getPersistenceUnitName, getSchemaName, getSequencesValidated, getSid, getSilent, getTableName, getToleratedErrorCodes, getUrl, getUser, getVerbose, mergeBean, persist, persistBean, printAnyBean, queryTester, queryTester, refreshBean, remove, removeBean, removeBean, setEmf, setPersistenceUnitName, setSilent, setToleratedErrorCodes, setVerbose, validateSequences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Uf1GeoReader

public Uf1GeoReader()
Method Detail

main

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

loadDatabase

public void loadDatabase(javax.faces.event.ActionEvent event)

loadDatabase

public void loadDatabase(java.lang.String fileName,
                         java.util.List<java.lang.Long> sumlevs)

openFile

public java.io.BufferedReader openFile(java.lang.String fileName)
                                throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

readNext

public Uf1Geo readNext(java.io.BufferedReader br,
                       java.util.List<java.lang.Long> sumlevs)
                throws java.io.IOException
Throws:
java.io.IOException

setFields

public void setFields(java.util.List<ReaderFieldSpec> fields)

getFields

public java.util.List<ReaderFieldSpec> getFields()

setFileName

public void setFileName(java.lang.String folder)

getFileName

public java.lang.String getFileName()