|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPIANOS.io.FortranWriter
public class FortranWriter
FortranWriter, a class that receives lines of Fortran code, multilines and indents them correctly and writes them to a file.
Constructor Summary | |
---|---|
FortranWriter(java.lang.String fileName)
Creates a new FortranWriter . |
Method Summary | |
---|---|
void |
write(java.util.ArrayList<java.lang.String> lines)
Writes lines of Fortran source code into the file. |
void |
write(java.lang.String[] lines)
Writes lines of Fortran source code into the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FortranWriter(java.lang.String fileName)
FortranWriter
.
fileName
- name of the file the Fortran source code will be
written toMethod Detail |
---|
public void write(java.util.ArrayList<java.lang.String> lines) throws java.io.IOException
lines
- an ArrayList containing the lines to be written to the
file
java.io.IOException
- If the file couldn't be written topublic void write(java.lang.String[] lines) throws java.io.IOException
lines
- an array containing the lines to be written to the
file
java.io.IOException
- If the file couldn't be written to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |