gmj.pcb.fpga
Class XPadFile

java.lang.Object
  extended by gmj.pcb.fpga.PinFile
      extended by gmj.pcb.fpga.XPadFile

public class XPadFile
extends PinFile


Field Summary
private static int HEADER_A_SIZE
           
private static int HEADER_B_SIZE
           
private static int HEADER_C_SIZE
           
protected  ArrayList headerA
           
protected  ArrayList headerB
           
protected  ArrayList headerC
           
protected  String inputFile
           
protected  String outputFile
           
protected  String partType
           
protected  String pkg
           
protected  String speedGrade
           
 
Fields inherited from class gmj.pcb.fpga.PinFile
pinDefs
 
Constructor Summary
XPadFile()
           
 
Method Summary
protected  String getGlobalVal(String heading, String line)
           
 String getPackage()
           
 String getPartType()
           
 String getSpeedGrade()
           
static XPadFile read(InputStream inStream)
           
protected  void readBody(BufferedReader reader)
           
protected  void readGlobals(BufferedReader reader)
           
protected  void readHeader(BufferedReader reader, ArrayList header, int headerSize)
           
 
Methods inherited from class gmj.pcb.fpga.PinFile
getNumPins, getPinDef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

headerA

protected ArrayList headerA

headerB

protected ArrayList headerB

headerC

protected ArrayList headerC

inputFile

protected String inputFile

outputFile

protected String outputFile

partType

protected String partType

speedGrade

protected String speedGrade

pkg

protected String pkg

HEADER_A_SIZE

private static final int HEADER_A_SIZE
See Also:
Constant Field Values

HEADER_B_SIZE

private static final int HEADER_B_SIZE
See Also:
Constant Field Values

HEADER_C_SIZE

private static final int HEADER_C_SIZE
See Also:
Constant Field Values
Constructor Detail

XPadFile

public XPadFile()
Method Detail

getPartType

public String getPartType()

getSpeedGrade

public String getSpeedGrade()

getPackage

public String getPackage()

readHeader

protected void readHeader(BufferedReader reader,
                          ArrayList header,
                          int headerSize)
                   throws IOException
Throws:
IOException

readGlobals

protected void readGlobals(BufferedReader reader)
                    throws IOException
Throws:
IOException

getGlobalVal

protected String getGlobalVal(String heading,
                              String line)

readBody

protected void readBody(BufferedReader reader)
                 throws IOException
Throws:
IOException

read

public static XPadFile read(InputStream inStream)
                     throws IOException
Throws:
IOException


Copyright © 2013. All Rights Reserved.