com.sun.electric.tool.sandbox
Class ESandBox
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
com.sun.electric.tool.sandbox.ESandBox
- Direct Known Subclasses:
- TechExplorer
public abstract class ESandBox
- extends java.net.URLClassLoader
This abstract class is a framework for stand-alone process which loads "electric.jar (possibly with old Electric version),
(partially) initializes it and executes there different test Jobs.
The results of test Jobs is sent to stdout in the folowng format:
StdOut = (JobResult | PrintOutput)*
JobResult = HEADER '\n' JobSuccess LengthString '\n' Byte+ '\n' '!' '\n'
HEADER = '\x7F'
JobSuccess = Ok | Exception
Ok = 'R'
Exception = 'E'
LenghtString = DIGIT+ // 10-digit number
PrintOutput = LF | CR | PrintString
LF = '\n'
CR = '\r'
PrintString = LengthByte Byte+ // contains (LengthByte - ' ' + 1) bytes
The subclass should contain methods with signature "commandName(String args), which implement commands,
and a main method like this:
public static void main(String[] args) {
try {
File electricJar = new File(args[0]);
MySandBox m = new MySandBox(electricJar);
m.loop(System.in);
} catch (Exception e) {
e.printStackTrace();
}
}
Only single instance of subclasses of this method is allowed in a process.
Constructor Summary |
protected |
ESandBox(java.net.URL electricJar)
|
Method Summary |
protected java.lang.Class<?> |
defineClass(java.lang.String name)
|
protected java.lang.reflect.Constructor |
getDeclaredConstructor(java.lang.Class<?> c,
java.lang.Class<?>... parameterTypes)
|
protected java.lang.Class<?> |
loadClass(java.lang.String name,
boolean resolve)
|
protected void |
loop(java.io.InputStream commandStream)
Command interpreter which executes commands from command stream. |
static void |
redirectStdOut(java.lang.String args)
|
Methods inherited from class java.net.URLClassLoader |
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
Methods inherited from class java.security.SecureClassLoader |
defineClass, defineClass |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classMain
protected final java.lang.Class<?> classMain
classMainUserInterfaceDummy
protected final java.lang.Class<?> classMainUserInterfaceDummy
classUndo
protected final java.lang.Class<?> classUndo
classEGraphics
protected final java.lang.Class<?> classEGraphics
classEGraphicsOutline
protected final java.lang.Class<?> classEGraphicsOutline
classPoly
protected final java.lang.Class<?> classPoly
classPolyType
protected final java.lang.Class<?> classPolyType
classCell
protected final java.lang.Class<?> classCell
classCellVersionGroup
protected final java.lang.Class<?> classCellVersionGroup
classEDatabase
protected final java.lang.Class<?> classEDatabase
classLibrary
protected final java.lang.Class<?> classLibrary
classNodeProto
protected final java.lang.Class<?> classNodeProto
classPref
protected final java.lang.Class<?> classPref
classSetting
protected final java.lang.Class<?> classSetting
classVersion
protected final java.lang.Class<?> classVersion
classNodeInst
protected final java.lang.Class<?> classNodeInst
classAbstractTextDescriptor
protected final java.lang.Class<?> classAbstractTextDescriptor
classElectricObject
protected final java.lang.Class<?> classElectricObject
classEditWindow0
protected final java.lang.Class<?> classEditWindow0
classEditWindow_
protected final java.lang.Class<?> classEditWindow_
classTextDescriptor
protected final java.lang.Class<?> classTextDescriptor
classTextDescriptorSize
protected final java.lang.Class<?> classTextDescriptorSize
classUserInterface
protected final java.lang.Class<?> classUserInterface
classVarContext
protected final java.lang.Class<?> classVarContext
classVariable
protected final java.lang.Class<?> classVariable
classArcProto
protected final java.lang.Class<?> classArcProto
classArcProtoFunction
protected final java.lang.Class<?> classArcProtoFunction
classDRCTemplate
protected final java.lang.Class<?> classDRCTemplate
classDRCTemplateDRCMode
protected final java.lang.Class<?> classDRCTemplateDRCMode
classDRCTemplateDRCRuleType
protected final java.lang.Class<?> classDRCTemplateDRCRuleType
classEdgeH
protected final java.lang.Class<?> classEdgeH
classEdgeV
protected final java.lang.Class<?> classEdgeV
classFoundry
protected final java.lang.Class<?> classFoundry
classLayer
protected final java.lang.Class<?> classLayer
classLayerFunction
protected final java.lang.Class<?> classLayerFunction
classLayerFunctionSet
protected final java.lang.Class<?> classLayerFunctionSet
classPrimitiveArc
protected final java.lang.Class<?> classPrimitiveArc
classPrimitiveNode
protected final java.lang.Class<?> classPrimitiveNode
classPrimitiveNodeFunction
protected final java.lang.Class<?> classPrimitiveNodeFunction
classPrimitiveNodeNodeSizeRule
protected final java.lang.Class<?> classPrimitiveNodeNodeSizeRule
classPrimitivePort
protected final java.lang.Class<?> classPrimitivePort
classTechnology
protected final java.lang.Class<?> classTechnology
classTechnologyArcLayer
protected final java.lang.Class<?> classTechnologyArcLayer
classTechnologyNodeLayer
protected final java.lang.Class<?> classTechnologyNodeLayer
classTechnologyTechPoint
protected final java.lang.Class<?> classTechnologyTechPoint
classSizeOffset
protected final java.lang.Class<?> classSizeOffset
classAbstractUserInterface
protected final java.lang.Class<?> classAbstractUserInterface
classJob
protected final java.lang.Class<?> classJob
classJobMode
protected final java.lang.Class<?> classJobMode
classTool
protected final java.lang.Class<?> classTool
classERC
protected final java.lang.Class<?> classERC
classUser
protected final java.lang.Class<?> classUser
classEditWindow
protected final java.lang.Class<?> classEditWindow
Main_NOTHREADING
protected final java.lang.reflect.Field Main_NOTHREADING
Cell_versionGroup
protected final java.lang.reflect.Field Cell_versionGroup
Pref_allPrefs
protected final java.lang.reflect.Field Pref_allPrefs
Pref_prefs
protected final java.lang.reflect.Field Pref_prefs
Setting_prefs
protected final java.lang.reflect.Field Setting_prefs
ArcProto_layers
protected final java.lang.reflect.Field ArcProto_layers
DRCTemplate_ruleName
protected final java.lang.reflect.Field DRCTemplate_ruleName
DRCTemplate_when
protected final java.lang.reflect.Field DRCTemplate_when
DRCTemplate_ruleType
protected final java.lang.reflect.Field DRCTemplate_ruleType
DRCTemplate_name1
protected final java.lang.reflect.Field DRCTemplate_name1
DRCTemplate_name2
protected final java.lang.reflect.Field DRCTemplate_name2
DRCTemplate_value1
protected final java.lang.reflect.Field DRCTemplate_value1
DRCTemplate_value2
protected final java.lang.reflect.Field DRCTemplate_value2
DRCTemplate_values
protected final java.lang.reflect.Field DRCTemplate_values
DRCTemplate_maxWidth
protected final java.lang.reflect.Field DRCTemplate_maxWidth
DRCTemplate_minLength
protected final java.lang.reflect.Field DRCTemplate_minLength
DRCTemplate_nodeName
protected final java.lang.reflect.Field DRCTemplate_nodeName
DRCTemplate_multiCuts
protected final java.lang.reflect.Field DRCTemplate_multiCuts
PrimitiveNode_LOWVTBIT
protected final java.lang.reflect.Field PrimitiveNode_LOWVTBIT
PrimitiveNode_HIGHVTBIT
protected final java.lang.reflect.Field PrimitiveNode_HIGHVTBIT
PrimitiveNode_NATIVEBIT
protected final java.lang.reflect.Field PrimitiveNode_NATIVEBIT
PrimitiveNode_OD18BIT
protected final java.lang.reflect.Field PrimitiveNode_OD18BIT
PrimitiveNode_OD25BIT
protected final java.lang.reflect.Field PrimitiveNode_OD25BIT
PrimitiveNode_OD33BIT
protected final java.lang.reflect.Field PrimitiveNode_OD33BIT
Job_NOTHREADING
protected final java.lang.reflect.Field Job_NOTHREADING
JobMode_SERVER
protected final java.lang.reflect.Field JobMode_SERVER
JobMode_BATCH
protected final java.lang.reflect.Field JobMode_BATCH
JobMode_CLIENT
protected final java.lang.reflect.Field JobMode_CLIENT
ERC_tool
protected final java.lang.reflect.Field ERC_tool
MainUserInterfaceDummy_constructor
protected final java.lang.reflect.Constructor MainUserInterfaceDummy_constructor
CellVersionGroup_constructor
protected final java.lang.reflect.Constructor CellVersionGroup_constructor
Undo_changesQuiet
protected final java.lang.reflect.Method Undo_changesQuiet
EGraphics_getColor
protected final java.lang.reflect.Method EGraphics_getColor
EGraphics_getForeground
protected final java.lang.reflect.Method EGraphics_getForeground
EGraphics_getOpacity
protected final java.lang.reflect.Method EGraphics_getOpacity
EGraphics_getOutlined
protected final java.lang.reflect.Method EGraphics_getOutlined
EGraphics_getPattern
protected final java.lang.reflect.Method EGraphics_getPattern
EGraphics_getTransparentLayer
protected final java.lang.reflect.Method EGraphics_getTransparentLayer
EGraphics_isOutlinedOnDisplay
protected final java.lang.reflect.Method EGraphics_isOutlinedOnDisplay
EGraphics_isOutlinedOnPrinter
protected final java.lang.reflect.Method EGraphics_isOutlinedOnPrinter
EGraphics_isPatternedOnDisplay
protected final java.lang.reflect.Method EGraphics_isPatternedOnDisplay
EGraphics_isPatternedOnPrinter
protected final java.lang.reflect.Method EGraphics_isPatternedOnPrinter
Poly_getPoints
protected final java.lang.reflect.Method Poly_getPoints
Poly_getStyle
protected final java.lang.reflect.Method Poly_getStyle
Cell_lowLevelAllocate
protected final java.lang.reflect.Method Cell_lowLevelAllocate
Cell_lowLevelLink
protected final java.lang.reflect.Method Cell_lowLevelLink
Cell_lowLevelPopulate
protected final java.lang.reflect.Method Cell_lowLevelPopulate
Cell_newInstance
protected final java.lang.reflect.Method Cell_newInstance
CellVersionGroup_add
protected final java.lang.reflect.Method CellVersionGroup_add
EDatabase_lock
protected final java.lang.reflect.Method EDatabase_lock
EDatabase_lowLevelBeginChanges
protected final java.lang.reflect.Method EDatabase_lowLevelBeginChanges
EDatabase_lowLevelSetCanChanging
protected final java.lang.reflect.Method EDatabase_lowLevelSetCanChanging
EDatabase_serverDatabase
protected final java.lang.reflect.Method EDatabase_serverDatabase
Library_getLibraries
protected final java.lang.reflect.Method Library_getLibraries
Library_getName
protected final java.lang.reflect.Method Library_getName
Library_newInstance
protected final java.lang.reflect.Method Library_newInstance
Pref_getFactoryValue
protected final java.lang.reflect.Method Pref_getFactoryValue
Pref_getMeaning
protected final java.lang.reflect.Method Pref_getMeaning
Pref_getPrefName
protected final java.lang.reflect.Method Pref_getPrefName
Setting_getFactoryValue
protected final java.lang.reflect.Method Setting_getFactoryValue
Setting_getPrefName
protected final java.lang.reflect.Method Setting_getPrefName
Setting_getSettings
protected final java.lang.reflect.Method Setting_getSettings
Setting_getXmlPath
protected final java.lang.reflect.Method Setting_getXmlPath
Version_getVersion
protected final java.lang.reflect.Method Version_getVersion
NodeInst_getAngle
protected final java.lang.reflect.Method NodeInst_getAngle
NodeInst_getFunction
protected final java.lang.reflect.Method NodeInst_getFunction
NodeInst_getProto
protected final java.lang.reflect.Method NodeInst_getProto
NodeInst_newInstance1
protected final java.lang.reflect.Method NodeInst_newInstance1
NodeInst_newInstance2
protected final java.lang.reflect.Method NodeInst_newInstance2
ElectricObject_getVariables
protected final java.lang.reflect.Method ElectricObject_getVariables
TextDescriptor_getSize
protected final java.lang.reflect.Method TextDescriptor_getSize
TextDescriptorSize_getSize
protected final java.lang.reflect.Method TextDescriptorSize_getSize
Variable_getObject
protected final java.lang.reflect.Method Variable_getObject
Variable_getTextDescriptor
protected final java.lang.reflect.Method Variable_getTextDescriptor
EdgeH_getAdder
protected final java.lang.reflect.Method EdgeH_getAdder
EdgeH_getMultiplier
protected final java.lang.reflect.Method EdgeH_getMultiplier
EdgeV_getAdder
protected final java.lang.reflect.Method EdgeV_getAdder
EdgeV_getMultiplier
protected final java.lang.reflect.Method EdgeV_getMultiplier
ArcProto_getAngleIncrement
protected final java.lang.reflect.Method ArcProto_getAngleIncrement
ArcProto_getAntennaRatio
protected final java.lang.reflect.Method ArcProto_getAntennaRatio
ArcProto_getDefaultWidth
protected final java.lang.reflect.Method ArcProto_getDefaultWidth
ArcProto_getDefaultLambdaBaseWidth
protected final java.lang.reflect.Method ArcProto_getDefaultLambdaBaseWidth
ArcProto_getDefaultLambdaFullWidth
protected final java.lang.reflect.Method ArcProto_getDefaultLambdaFullWidth
ArcProto_getFunction
protected final java.lang.reflect.Method ArcProto_getFunction
ArcProto_getLambdaElibWidthOffset
protected final java.lang.reflect.Method ArcProto_getLambdaElibWidthOffset
ArcProto_getLambdaWidthOffset
protected final java.lang.reflect.Method ArcProto_getLambdaWidthOffset
ArcProto_getName
protected final java.lang.reflect.Method ArcProto_getName
ArcProto_getWidthOffset
protected final java.lang.reflect.Method ArcProto_getWidthOffset
ArcProto_isCurvable
protected final java.lang.reflect.Method ArcProto_isCurvable
ArcProto_isExtended
protected final java.lang.reflect.Method ArcProto_isExtended
ArcProto_isFixedAngle
protected final java.lang.reflect.Method ArcProto_isFixedAngle
ArcProto_isNotUsed
protected final java.lang.reflect.Method ArcProto_isNotUsed
ArcProto_isSkipSizeInPalette
protected final java.lang.reflect.Method ArcProto_isSkipSizeInPalette
ArcProto_isSpecialArc
protected final java.lang.reflect.Method ArcProto_isSpecialArc
ArcProto_isWipable
protected final java.lang.reflect.Method ArcProto_isWipable
DRCTemplateDrcMode_mode
protected final java.lang.reflect.Method DRCTemplateDrcMode_mode
Foundry_getGDSLayers
protected final java.lang.reflect.Method Foundry_getGDSLayers
Foundry_getRules
protected final java.lang.reflect.Method Foundry_getRules
Layer_getCapacitance
protected final java.lang.reflect.Method Layer_getCapacitance
Layer_getCIFLayer
protected final java.lang.reflect.Method Layer_getCIFLayer
Layer_getDXFLayer
protected final java.lang.reflect.Method Layer_getDXFLayer
Layer_getDistance
protected final java.lang.reflect.Method Layer_getDistance
Layer_getEdgeCapacitance
protected final java.lang.reflect.Method Layer_getEdgeCapacitance
Layer_getFunction
protected final java.lang.reflect.Method Layer_getFunction
Layer_getFunctionExtras
protected final java.lang.reflect.Method Layer_getFunctionExtras
Layer_getGDSLayer
protected final java.lang.reflect.Method Layer_getGDSLayer
Layer_getGraphics
protected final java.lang.reflect.Method Layer_getGraphics
Layer_getHeight
protected final java.lang.reflect.Method Layer_getHeight
Layer_getName
protected final java.lang.reflect.Method Layer_getName
Layer_getNonPseudoLayer
protected final java.lang.reflect.Method Layer_getNonPseudoLayer
Layer_getPseudoLayer
protected final java.lang.reflect.Method Layer_getPseudoLayer
Layer_getResistance
protected final java.lang.reflect.Method Layer_getResistance
Layer_getSkillLayer
protected final java.lang.reflect.Method Layer_getSkillLayer
Layer_getThickness
protected final java.lang.reflect.Method Layer_getThickness
Layer_getTransparencyFactor
protected final java.lang.reflect.Method Layer_getTransparencyFactor
Layer_getTransparencyMode
protected final java.lang.reflect.Method Layer_getTransparencyMode
Layer_isPseudoLayer
protected final java.lang.reflect.Method Layer_isPseudoLayer
PrimitiveNode_getBaseRectangle
protected final java.lang.reflect.Method PrimitiveNode_getBaseRectangle
PrimitiveNode_getDefWidth
protected final java.lang.reflect.Method PrimitiveNode_getDefWidth
PrimitiveNode_getDefHeight
protected final java.lang.reflect.Method PrimitiveNode_getDefHeight
PrimitiveNode_getElectricalLayers
protected final java.lang.reflect.Method PrimitiveNode_getElectricalLayers
PrimitiveNode_getFullRectangle
protected final java.lang.reflect.Method PrimitiveNode_getFullRectangle
PrimitiveNode_getFunction
protected final java.lang.reflect.Method PrimitiveNode_getFunction
PrimitiveNode_getLayers
protected final java.lang.reflect.Method PrimitiveNode_getLayers
PrimitiveNode_getMinHeight
protected final java.lang.reflect.Method PrimitiveNode_getMinHeight
PrimitiveNode_getMinSizeRule
protected final java.lang.reflect.Method PrimitiveNode_getMinSizeRule
PrimitiveNode_getMinWidth
protected final java.lang.reflect.Method PrimitiveNode_getMinWidth
PrimitiveNode_getName
protected final java.lang.reflect.Method PrimitiveNode_getName
PrimitiveNode_getPorts
protected final java.lang.reflect.Method PrimitiveNode_getPorts
PrimitiveNode_getProtoSizeOffset
protected final java.lang.reflect.Method PrimitiveNode_getProtoSizeOffset
PrimitiveNode_getSizeCorrector
protected final java.lang.reflect.Method PrimitiveNode_getSizeCorrector
PrimitiveNode_getSpecialType
protected final java.lang.reflect.Method PrimitiveNode_getSpecialType
PrimitiveNode_getSpecialValues
protected final java.lang.reflect.Method PrimitiveNode_getSpecialValues
PrimitiveNode_getSpiceTemplate
protected final java.lang.reflect.Method PrimitiveNode_getSpiceTemplate
PrimitiveNode_isArcsShrink
protected final java.lang.reflect.Method PrimitiveNode_isArcsShrink
PrimitiveNode_isArcsWipe
protected final java.lang.reflect.Method PrimitiveNode_isArcsWipe
PrimitiveNode_isCanBeZeroSize
protected final java.lang.reflect.Method PrimitiveNode_isCanBeZeroSize
PrimitiveNode_isEdgeSelect
protected final java.lang.reflect.Method PrimitiveNode_isEdgeSelect
PrimitiveNode_isLockedPrim
protected final java.lang.reflect.Method PrimitiveNode_isLockedPrim
PrimitiveNode_isNodeBitOn
protected final java.lang.reflect.Method PrimitiveNode_isNodeBitOn
PrimitiveNode_isNotUsed
protected final java.lang.reflect.Method PrimitiveNode_isNotUsed
PrimitiveNode_isSkipSizeInPalette
protected final java.lang.reflect.Method PrimitiveNode_isSkipSizeInPalette
PrimitiveNode_isSquare
protected final java.lang.reflect.Method PrimitiveNode_isSquare
PrimitiveNode_isWipeOn1or2
protected final java.lang.reflect.Method PrimitiveNode_isWipeOn1or2
PrimitiveNodeNodeSizeRule_getHeight
protected final java.lang.reflect.Method PrimitiveNodeNodeSizeRule_getHeight
PrimitiveNodeNodeSizeRule_getRuleName
protected final java.lang.reflect.Method PrimitiveNodeNodeSizeRule_getRuleName
PrimitiveNodeNodeSizeRule_getWidth
protected final java.lang.reflect.Method PrimitiveNodeNodeSizeRule_getWidth
PrimitivePort_getAngle
protected final java.lang.reflect.Method PrimitivePort_getAngle
PrimitivePort_getAngleRange
protected final java.lang.reflect.Method PrimitivePort_getAngleRange
PrimitivePort_getBottom
protected final java.lang.reflect.Method PrimitivePort_getBottom
PrimitivePort_getConnections
protected final java.lang.reflect.Method PrimitivePort_getConnections
PrimitivePort_getLeft
protected final java.lang.reflect.Method PrimitivePort_getLeft
PrimitivePort_getName
protected final java.lang.reflect.Method PrimitivePort_getName
PrimitivePort_getRight
protected final java.lang.reflect.Method PrimitivePort_getRight
PrimitivePort_getTop
protected final java.lang.reflect.Method PrimitivePort_getTop
PrimitivePort_getTopology
protected final java.lang.reflect.Method PrimitivePort_getTopology
PrimitivePort_lowLevelGetUserbits
protected final java.lang.reflect.Method PrimitivePort_lowLevelGetUserbits
SizeOffset_getHighXOffset
protected final java.lang.reflect.Method SizeOffset_getHighXOffset
SizeOffset_getHighYOffset
protected final java.lang.reflect.Method SizeOffset_getHighYOffset
SizeOffset_getLowXOffset
protected final java.lang.reflect.Method SizeOffset_getLowXOffset
SizeOffset_getLowYOffset
protected final java.lang.reflect.Method SizeOffset_getLowYOffset
Technology_findArcProto
protected final java.lang.reflect.Method Technology_findArcProto
Technology_findTechnology
protected final java.lang.reflect.Method Technology_findTechnology
Technology_getArcs
protected final java.lang.reflect.Method Technology_getArcs
Technology_getColorMap
protected final java.lang.reflect.Method Technology_getColorMap
Technology_getFoundries
protected final java.lang.reflect.Method Technology_getFoundries
Technology_getLayers
protected final java.lang.reflect.Method Technology_getLayers
Technology_getMinResistance
protected final java.lang.reflect.Method Technology_getMinResistance
Technology_getMinCapacitance
protected final java.lang.reflect.Method Technology_getMinCapacitance
Technology_getNodes
protected final java.lang.reflect.Method Technology_getNodes
Technology_getNodesGrouped1
protected final java.lang.reflect.Method Technology_getNodesGrouped1
Technology_getNodesGrouped2
protected final java.lang.reflect.Method Technology_getNodesGrouped2
Technology_getNumMetals
protected final java.lang.reflect.Method Technology_getNumMetals
Technology_getNumTransparentLayers
protected final java.lang.reflect.Method Technology_getNumTransparentLayers
Technology_getOldArcNames
protected final java.lang.reflect.Method Technology_getOldArcNames
Technology_getOldNodeNames
protected final java.lang.reflect.Method Technology_getOldNodeNames
Technology_getPrefFoundry
protected final java.lang.reflect.Method Technology_getPrefFoundry
Technology_getScale
protected final java.lang.reflect.Method Technology_getScale
Technology_getShapeOfNode1
protected final java.lang.reflect.Method Technology_getShapeOfNode1
Technology_getShapeOfNode2
protected final java.lang.reflect.Method Technology_getShapeOfNode2
Technology_getShapeOfNode3
protected final java.lang.reflect.Method Technology_getShapeOfNode3
Technology_getShapeOfNode4
protected final java.lang.reflect.Method Technology_getShapeOfNode4
Technology_getShapeOfNode5
protected final java.lang.reflect.Method Technology_getShapeOfNode5
Technology_getShapeOfNode6
protected final java.lang.reflect.Method Technology_getShapeOfNode6
Technology_getSpiceHeaderLevel1
protected final java.lang.reflect.Method Technology_getSpiceHeaderLevel1
Technology_getSpiceHeaderLevel2
protected final java.lang.reflect.Method Technology_getSpiceHeaderLevel2
Technology_getSpiceHeaderLevel3
protected final java.lang.reflect.Method Technology_getSpiceHeaderLevel3
Technology_getTechDesc
protected final java.lang.reflect.Method Technology_getTechDesc
Technology_getTechName
protected final java.lang.reflect.Method Technology_getTechName
Technology_getTechShortName
protected final java.lang.reflect.Method Technology_getTechShortName
Technology_getTechnologies
protected final java.lang.reflect.Method Technology_getTechnologies
Technology_initAllTechnologies
protected final java.lang.reflect.Method Technology_initAllTechnologies
Technology_isScaleRelevant
protected final java.lang.reflect.Method Technology_isScaleRelevant
TechnologyArcLayer_getGridExtend
protected final java.lang.reflect.Method TechnologyArcLayer_getGridExtend
TechnologyArcLayer_getLambdaOffset
protected final java.lang.reflect.Method TechnologyArcLayer_getLambdaOffset
TechnologyArcLayer_getLayer
protected final java.lang.reflect.Method TechnologyArcLayer_getLayer
TechnologyArcLayer_getOffset
protected final java.lang.reflect.Method TechnologyArcLayer_getOffset
TechnologyArcLayer_getStyle
protected final java.lang.reflect.Method TechnologyArcLayer_getStyle
TechnologyNodeLayer_getLayer
protected final java.lang.reflect.Method TechnologyNodeLayer_getLayer
TechnologyNodeLayer_getMulticutSizeX
protected final java.lang.reflect.Method TechnologyNodeLayer_getMulticutSizeX
TechnologyNodeLayer_getMulticutSizeY
protected final java.lang.reflect.Method TechnologyNodeLayer_getMulticutSizeY
TechnologyNodeLayer_getMulticutSep1D
protected final java.lang.reflect.Method TechnologyNodeLayer_getMulticutSep1D
TechnologyNodeLayer_getMulticutSep2D
protected final java.lang.reflect.Method TechnologyNodeLayer_getMulticutSep2D
TechnologyNodeLayer_getPoints
protected final java.lang.reflect.Method TechnologyNodeLayer_getPoints
TechnologyNodeLayer_getPortNum
protected final java.lang.reflect.Method TechnologyNodeLayer_getPortNum
TechnologyNodeLayer_getRepresentation
protected final java.lang.reflect.Method TechnologyNodeLayer_getRepresentation
TechnologyNodeLayer_getSerpentineExtentB
protected final java.lang.reflect.Method TechnologyNodeLayer_getSerpentineExtentB
TechnologyNodeLayer_getSerpentineExtentT
protected final java.lang.reflect.Method TechnologyNodeLayer_getSerpentineExtentT
TechnologyNodeLayer_getSerpentineLWidth
protected final java.lang.reflect.Method TechnologyNodeLayer_getSerpentineLWidth
TechnologyNodeLayer_getSerpentineRWidth
protected final java.lang.reflect.Method TechnologyNodeLayer_getSerpentineRWidth
TechnologyNodeLayer_getStyle
protected final java.lang.reflect.Method TechnologyNodeLayer_getStyle
TechnologyNodeLayer_isPseudoLayer
protected final java.lang.reflect.Method TechnologyNodeLayer_isPseudoLayer
TechnologyTechPoint_getX
protected final java.lang.reflect.Method TechnologyTechPoint_getX
TechnologyTechPoint_getY
protected final java.lang.reflect.Method TechnologyTechPoint_getY
Job_initJobManager1
protected final java.lang.reflect.Method Job_initJobManager1
Job_initJobManager2
protected final java.lang.reflect.Method Job_initJobManager2
Job_initJobManager3
protected final java.lang.reflect.Method Job_initJobManager3
Job_setThreadMode1
protected final java.lang.reflect.Method Job_setThreadMode1
Job_setThreadMode2
protected final java.lang.reflect.Method Job_setThreadMode2
Job_startJob
protected final java.lang.reflect.Method Job_startJob
Tool_initAllTools
protected final java.lang.reflect.Method Tool_initAllTools
Tool_initProjectSettings
protected final java.lang.reflect.Method Tool_initProjectSettings
ERC_getAntennaRatio
protected final java.lang.reflect.Method ERC_getAntennaRatio
User_getUserTool
protected final java.lang.reflect.Method User_getUserTool
EGraphicsOutlines
protected final java.util.HashMap<java.lang.Object,EGraphics.Outline> EGraphicsOutlines
PolyTypes
protected final java.util.HashMap<java.lang.Object,Poly.Type> PolyTypes
DRCTemplateDRCModes
protected final java.util.HashMap<java.lang.Object,DRCTemplate.DRCMode> DRCTemplateDRCModes
DRCTemplateDRCRuleTypes
protected final java.util.HashMap<java.lang.Object,DRCTemplate.DRCRuleType> DRCTemplateDRCRuleTypes
LayerFunctions
protected final java.util.HashMap<java.lang.Object,Layer.Function> LayerFunctions
ArcProtoFunctions
protected final java.util.HashMap<java.lang.Object,ArcProto.Function> ArcProtoFunctions
PrimitiveNodeFunctions
protected final java.util.HashMap<java.lang.Object,PrimitiveNode.Function> PrimitiveNodeFunctions
ESandBox
protected ESandBox(java.net.URL electricJar)
throws java.io.IOException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
redirectStdOut
public static void redirectStdOut(java.lang.String args)
loop
protected void loop(java.io.InputStream commandStream)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.io.IOException
- Command interpreter which executes commands from command stream.
Each command is placed at the beginning of command line. Its arguments are after one or more spaces.
Lines beginning with spaces and empty lines are considered as comments.
A method like "commandName(String args)" is found by reflexion in subclass of ESandBox.
- Parameters:
commandStream
- a stream with commands.
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.io.IOException
loadClass
protected java.lang.Class<?> loadClass(java.lang.String name,
boolean resolve)
throws java.lang.ClassNotFoundException
- Overrides:
loadClass
in class java.lang.ClassLoader
- Throws:
java.lang.ClassNotFoundException
defineClass
protected java.lang.Class<?> defineClass(java.lang.String name)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getDeclaredConstructor
protected java.lang.reflect.Constructor getDeclaredConstructor(java.lang.Class<?> c,
java.lang.Class<?>... parameterTypes)