com.sun.electric.tool.io.output
Class DELIB
java.lang.Object
com.sun.electric.tool.io.output.Output
com.sun.electric.tool.io.output.JELIB
com.sun.electric.tool.io.output.DELIB
public class DELIB
- extends JELIB
User: gainsley
Date: Mar 8, 2006
Methods inherited from class com.sun.electric.tool.io.output.Output |
closeBinaryOutputStream, closeTextOutputStream, emitCopyright, exportCellCommand, getAreaToPrint, openBinaryOutputStream, saveJelib, setContinuationString, setOutputWidth, writeCell, writeCell, writeLibrary, writePanicSnapshot, writeWidthLimited |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEARCH_FOR_CELL_FILES
public static final java.lang.String SEARCH_FOR_CELL_FILES
- See Also:
- Constant Field Values
PLATFORM_INDEPENDENT_FILE_SEPARATOR
public static final char PLATFORM_INDEPENDENT_FILE_SEPARATOR
- See Also:
- Constant Field Values
writeLib
protected boolean writeLib(Snapshot snapshot,
LibId libId,
java.util.Set<java.lang.String> oldCellFiles)
openTextOutputStream
protected boolean openTextOutputStream(java.lang.String filePath)
- Open the printWriter for writing text files
- Overrides:
openTextOutputStream
in class Output
- Returns:
- true on error.
getDeletedCellFiles
public java.util.List<java.lang.String> getDeletedCellFiles()
getWrittenCellFiles
public java.util.List<java.lang.String> getWrittenCellFiles()
getCellSubDir
public static java.lang.String getCellSubDir(CellId cellId)
- Cell subdirectory name. This is the directory inside the
.delib directory containing the Cell files for the specified cell.
- Parameters:
cellId
-
- Returns:
- the Cell subdirectory name.
getCellFile
public static java.lang.String getCellFile(Cell cell)
- Method used by other tools to find out relative path for cell.
This is the path, relative to the .delib directory
path, of the file for the specified cell. Note it is a relative path,
not an absolute path. Ex: LEsettings.sch or LEsettings/LEsettings.sch
- Parameters:
cell
- the Cell.
- Returns:
- the file with the Cell in it.
getHeaderFile
public static final java.lang.String getHeaderFile()
- Get relative path to header file from .delib directory
- Returns:
- the name of the header file in the .delib directory.