fileconvert
Class WriteAN8

java.lang.Object
  |
  +--fileconvert.WriteAN8

public class WriteAN8
extends java.lang.Object

This class Writes a AN8 File


Constructor Summary
WriteAN8()
          Creates new WriteAN8
WriteAN8(Info3d info, java.lang.String fname)
          Creates a new Write AN8 and Writes the file
 
Method Summary
 void setInfo3d(Info3d info)
          Sets the 3d info
 boolean write(Info3d info, java.lang.String fname)
          Writes the AN8 File
 boolean write(java.lang.String fname)
          Writes a AN8 file(info must be set before writing)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteAN8

public WriteAN8()
Creates new WriteAN8

WriteAN8

public WriteAN8(Info3d info,
                java.lang.String fname)
         throws java.io.IOException
Creates a new Write AN8 and Writes the file
Parameters:
info - 3d info to be written
fname - Name of the file to be written
Throws:
java.io.IOException - throws IOException
Method Detail

setInfo3d

public void setInfo3d(Info3d info)
Sets the 3d info
Parameters:
info - The variable containing all the 3d info

write

public boolean write(Info3d info,
                     java.lang.String fname)
              throws java.io.IOException
Writes the AN8 File
Parameters:
info - The 3d info to be written
fname - The path of the file
Returns:
Returns a boolean stating whether it was successful or not
Throws:
java.io.IOException - throws IOException

write

public boolean write(java.lang.String fname)
              throws java.io.IOException
Writes a AN8 file(info must be set before writing)
Parameters:
fname - The path of the file to be written
Returns:
Returns a boolean stating whether it was successful or not
Throws:
java.io.IOException - throws IOException