|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileDriver
Method Summary | |
---|---|
void |
close()
Cierra el Fichero sobre el que se estaba accediendo |
java.lang.String |
completeFileName(java.lang.String fileName)
Returns a file name that will be accepted by the driver. |
void |
copy(java.io.File in,
java.io.File out)
Copies the datasource from file in to file out |
boolean |
fileAccepted(java.io.File f)
devuelve true si el driver puede leer el fichero que se pasa como parámetro, false en caso contrario |
void |
open(java.io.File file)
Método invocado al comienzo para abrir el fichero. |
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.ReadAccess |
---|
getFieldValue, getRowCount |
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.GDBMSDriver |
---|
check, getAvailableTypes, getDriverMetadata, getParameters, isReadOnly, isValidParameter, setDataSourceFactory |
Methods inherited from interface com.hardcode.driverManager.Driver |
---|
getName |
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.TypeConverter |
---|
getType |
Method Detail |
---|
void open(java.io.File file) throws DriverException
file
- Fichero que se debe de abrir
DriverException
- Si se produce algun errorvoid close() throws DriverException
DriverException
- Si se produce algún errorboolean fileAccepted(java.io.File f)
f
- Fichero que se quiere comprobar
java.lang.String completeFileName(java.lang.String fileName)
fileName
- base name
void copy(java.io.File in, java.io.File out) throws java.io.IOException
in
- out
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |