|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interfaz a implementar por los drivers. El constructor no ha de tener parámetros y ha de ser rápido, para las tareas de inicialización de la capa se deberá de utilizar initialize.
Method Summary | |
boolean |
accept(java.io.File f)
Define los tipos de fichero que puede leer el driver. |
void |
close()
Cuando se terminan las operaciones sobre el fichero se invoca éste método para cerrar el descriptor que se abrió en f |
java.io.File |
getDataFile(java.io.File f)
|
java.io.File |
getFile()
|
java.lang.String |
getFilePath()
|
void |
initialize()
Método invocado una sóla vez durante la ejecución justo antes de visualizar una capa. |
void |
open(java.io.File f)
Abre el fichero para una serie de operaciones. |
Methods inherited from interface es.prodevelop.gvsig.mobile.fmap.driver.VectorialDriver |
getFullExtent, getShape, getShapeBounds, getShapeCount, getShapeType, isWritable, reload |
Methods inherited from interface es.prodevelop.gvsig.mobile.fmap.driver.Driver |
getName |
Method Detail |
public void open(java.io.File f) throws java.io.IOException
f
- Fichero sobre el que se va a operar
java.io.IOException
- Si se produce algún errorpublic void close() throws java.io.IOException
java.io.IOException
- Si se produce algún errorpublic void initialize() throws java.io.IOException
java.io.IOException
- Si se produce algún errorpublic boolean accept(java.io.File f)
f
- Fichero
public java.io.File getFile()
public java.io.File getDataFile(java.io.File f)
public java.lang.String getFilePath()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |