public class DxfFile extends GeoFile
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | DxfFile.EntityFactoryCrea los objetos en el Modelo correspondiente. | 
| static interface  | DxfFile.VarSettingsEstablece el estado de las variables propias de un DXF que est�n
 definidas en la secci�n HEADER. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Logger | logger | 
bytesReaded, extent, lineCnt, requestExtent, rmfExists, transformRMF, transformTFW| Constructor and Description | 
|---|
| DxfFile(IProjection proj,
       String name,
       DxfFile.EntityFactory maker)Constructor de la clase | 
| DxfFile(IProjection proj,
       String name,
       DxfFile.EntityFactory maker,
       DxfFile.VarSettings dxfVars)Constructor de la clase que adem�s incorpora la capacidad de leer una
 porci�n del HEADER | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| IObjList | getObjects()Devuelve los objetos geom�tricos obtenidos de un DXF | 
| boolean | isCadFlag()Informa sobre si estamos trabajando con el modelo de datos GIS o con el
 de CAD | 
| boolean | isDxf3DFlag() | 
| GeoFile | load()Carga un fichero en formato DXF | 
| GeoFile | load(Reader fr)Carga un fichero en formato DXF tomando un Reader como par�metro | 
| void | reProject(ICoordTrans rp)Habilita la reproyecci�n cartogr�fica | 
| void | save(String fName)jmorell: M�todo que permite salvar capas al formato DXF2000. | 
| void | setCadFlag(boolean cadFlag)Establece si trabajamos con el modelo de datos GIS o con el de CAD | 
| void | setDxf3DFlag(boolean dxf3DFlag) | 
| void | writeAppidTable(FileWriter fw)Escritor de la tabla APPID. | 
| void | writeBlockRecordTable(FileWriter fw)Escritor de la tabla BLOCK_RECORD. | 
| void | writeBlocks(FileWriter fw)Escritor de la secci�n de bloques por defecto de un DXF2000. | 
| void | writeDimStyleTable(FileWriter fw)Escritor de la tabla DIMSTYLE. | 
| void | writeEntities(FileWriter fw)Escritor de la secci�n ENTITIES de entidades. | 
| void | writeHeader(FileWriter fw)Escritor de la cabecera de un DXF. jmorell: Actualizaci�n del escritor
 de DXF de R12 a 2000. | 
| void | writeLayerTable(FileWriter fw)Escritor de la tabla LAYER. | 
| void | writeLTypeTable(FileWriter fw)Escritor de la tabla LTYPE. | 
| void | writeObjects(FileWriter fw)050224, jmorell: Escritura de la secci�n OBJECTS seg�n QCAD. | 
| void | writeStyleTable(FileWriter fw)Escritor de la tabla STYLE. | 
| void | writeTables(FileWriter fw)Escritor de la secci�n TABLES de un DXF. | 
| void | writeUCSTable(FileWriter fw)Escritor de la tabla UCS. | 
| void | writeViewTable(FileWriter fw)Escritor de la tabla VIEW. | 
| void | writeVPortTable(FileWriter fw)Escritor de la tabla VPORT. | 
filterWS, getExtent, getExtentForRequest, getFileSize, getName, getProjection, getTime, setFileSize, setName, setProjectionpublic DxfFile(IProjection proj, String name, DxfFile.EntityFactory maker)
proj, - la proyecci�n cartogr�ficaname, - el path absoluto hasta el fichero DXFmaker, - el interface que permite la construcci�n de las entidades
 procedentes del DXFpublic DxfFile(IProjection proj, String name, DxfFile.EntityFactory maker, DxfFile.VarSettings dxfVars)
proj, - la proyecci�n cartogr�ficaname, - el path absoluto hasta el fichero DXFmaker, - el interface que permite la construcci�n de las entidades
 procedentes del DXFdxfVars, - el interface que permite la lectura del HEADER de un DXFpublic GeoFile load(Reader fr) throws Exception
public IObjList getObjects()
getObjects in class GeoFilepublic void save(String fName) throws IOException
fName - IOExceptionpublic void writeHeader(FileWriter fw) throws IOException
fw, - un FileWriter para escribir ficherosIOExceptionpublic void writeTables(FileWriter fw) throws IOException
fw, - FileWriterIOExceptionpublic void writeVPortTable(FileWriter fw) throws IOException
fw - IOExceptionpublic void writeLTypeTable(FileWriter fw) throws IOException
fw - IOExceptionpublic void writeLayerTable(FileWriter fw) throws IOException
fw - IOExceptionpublic void writeStyleTable(FileWriter fw) throws IOException
fw - IOExceptionpublic void writeViewTable(FileWriter fw) throws IOException
fw - IOExceptionpublic void writeUCSTable(FileWriter fw) throws IOException
fw - IOExceptionpublic void writeAppidTable(FileWriter fw) throws IOException
fw - IOExceptionpublic void writeDimStyleTable(FileWriter fw) throws IOException
fw - IOExceptionpublic void writeBlockRecordTable(FileWriter fw) throws IOException
fw - IOExceptionpublic void writeBlocks(FileWriter fw) throws IOException
fw - IOExceptionpublic void writeEntities(FileWriter fw) throws IOException
fw - IOExceptionpublic void writeObjects(FileWriter fw) throws IOException
IOExceptionpublic void reProject(ICoordTrans rp)
reProject in interface ProjectedreProject in class GeoFilerp - transformation coordinates for obtaining the new projectionProjected.getProjection()public boolean isCadFlag()
public void setCadFlag(boolean cadFlag)
cadFlag - The cadFlag to set.public boolean isDxf3DFlag()
public void setDxf3DFlag(boolean dxf3DFlag)
dxf3DFlag - The dxf3DFlag to set.