com.sun.electric.tool.io.input
Class DXF

java.lang.Object
  extended by com.sun.electric.tool.io.input.Input
      extended by com.sun.electric.tool.io.input.DXF

public class DXF
extends Input

This class reads files in DEF files.


Nested Class Summary
static class DXF.DXFPreferences
           
 
Nested classes/interfaces inherited from class com.sun.electric.tool.io.input.Input
Input.InputPreferences
 
Field Summary
static Variable.Key DXF_HEADER_ID_KEY
          key of Variable holding DXF header information.
static Variable.Key DXF_HEADER_TEXT_KEY
          key of Variable holding DXF header text.
static Variable.Key DXF_LAYER_KEY
          key of Variable holding DXF layer name.
 
Fields inherited from class com.sun.electric.tool.io.input.Input
byteCount, dataInputStream, ep, errorLogger, fileLength, filePath, inputStream, lineReader, READ_BUFFER_SIZE
 
Method Summary
protected  Library importALibrary(Library lib, Technology tech, java.util.Map<Library,Cell> currentCells)
          Method to import a library from disk.
 
Methods inherited from class com.sun.electric.tool.io.input.Input
changesQuiet, closeInput, eofDuring, getAKeyword, getInputPreferences, getLine, getLineFromBinary, getProgressNote, getRestOfLine, importLibrary, initKeywordParsing, isBreakCharacter, isChangeQuiet, isNewLibraryCreated, openBinaryInput, openStringsInput, openTextInput, preprocessLine, readWholeLine, setProgressNote, setProgressValue, startProgressDialog, stopProgressDialog, updateProgressDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DXF_LAYER_KEY

public static final Variable.Key DXF_LAYER_KEY
key of Variable holding DXF layer name.


DXF_HEADER_TEXT_KEY

public static final Variable.Key DXF_HEADER_TEXT_KEY
key of Variable holding DXF header text.


DXF_HEADER_ID_KEY

public static final Variable.Key DXF_HEADER_ID_KEY
key of Variable holding DXF header information.

Method Detail

importALibrary

protected Library importALibrary(Library lib,
                                 Technology tech,
                                 java.util.Map<Library,Cell> currentCells)
Method to import a library from disk.

Overrides:
importALibrary in class Input
Parameters:
lib - the library to fill
currentCells - this map will be filled with currentCells in Libraries found in library file
Returns:
the created library (null on error).