gmj.pcb.fpga
Class MGPinFile
java.lang.Object
extended by gmj.pcb.fpga.PinFile
extended by gmj.pcb.fpga.MGPinFile
public class MGPinFile
- extends PinFile
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
majorVersion
protected int majorVersion
minorVersion
protected int minorVersion
partNumber
protected String partNumber
pinDefs
protected ArrayList pinDefs
VER_HEADER
private static final String VER_HEADER
- See Also:
- Constant Field Values
MGPinFile
public MGPinFile()
getMajorVersion
public int getMajorVersion()
-
setMajorVersion
public void setMajorVersion(int majorVersion)
-
getMinorVersion
public int getMinorVersion()
-
setMinorVersion
public void setMinorVersion(int minorVersion)
-
setPartNumber
public void setPartNumber(String partNumber)
-
write
public void write(OutputStream outStream)
throws IOException
- Throws:
IOException
write
protected void write(BufferedWriter writer,
MGPinDef pinDef)
throws IOException
- Throws:
IOException
read
public static MGPinFile read(InputStream inStream)
throws IOException
- Throws:
IOException
setVersion
protected void setVersion(String verDef)
-
readBody
protected void readBody(BufferedReader reader)
throws IOException
- Throws:
IOException
addPinDef
protected void addPinDef(MGPinDef pinDef)
-
addPinDef
protected void addPinDef(String def)
-
Copyright © 2013. All Rights Reserved.