io.g96.in
Class InEnergiesG96

java.lang.Object
  extended byio.g96.in.InBlock
      extended byio.g96.in.InEnergiesG96

public class InEnergiesG96
extends InBlock

Author:
vincent

Nested Class Summary
static class InEnergiesG96.G96Energies
           
 
Field Summary
 
Fields inherited from class io.g96.in.InBlock
endPattern, fileName, startPattern, stream, tok
 
Constructor Summary
InEnergiesG96()
           
InEnergiesG96(java.lang.String fileName)
           
 
Method Summary
static InEnergiesG96.G96Energies parseEnergyBlock(java.util.ArrayList block)
           
 InEnergiesG96.G96Energies readEnergyBlock()
           
 double[] readVolumePressureBlock()
           
 
Methods inherited from class io.g96.in.InBlock
assertBlockName, assertBlockSize, close, getBlocks, getNextBlock, open, parseDoubleArray, parseDoubleArray, parseDoubleArray, parseDoubleMatrix, readTitle, skipLine, slurp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InEnergiesG96

public InEnergiesG96()
              throws java.io.IOException

InEnergiesG96

public InEnergiesG96(java.lang.String fileName)
              throws java.io.IOException
Method Detail

readEnergyBlock

public InEnergiesG96.G96Energies readEnergyBlock()
                                          throws java.io.IOException
Returns:
a properly filled G96Energies objects
Throws:
java.io.IOException

parseEnergyBlock

public static InEnergiesG96.G96Energies parseEnergyBlock(java.util.ArrayList block)
                                                  throws java.io.IOException
Throws:
java.io.IOException

readVolumePressureBlock

public double[] readVolumePressureBlock()
                                 throws java.io.IOException
Throws:
java.io.IOException