com.partnersoft.formats.dxf
Class DxfWriter

java.lang.Object
  extended by com.partnersoft.formats.dxf.DxfWriter

public class DxfWriter
extends java.lang.Object


Constructor Summary
DxfWriter(java.io.Writer writer)
           
 
Method Summary
 void close()
           
 void endSection()
           
 void startSection(java.lang.String name)
           
 void writeDoubleGroup(int code, double value)
           
 void writeEOF()
           
 void writeFloatGroup(int code, float value)
           
 void writeGroup(DxfGroup group)
           
 void writeGroup(int code, java.lang.String value)
           
 void writeGroups(java.util.List<DxfGroup> groups)
           
 void writeHexGroup(int code, long value)
           
 void writeIntGroup(int code, int value)
           
 void writeStringGroup(int code, java.lang.String value)
           
 void writeUnicodeGroup(int code, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DxfWriter

public DxfWriter(java.io.Writer writer)
Method Detail

startSection

public void startSection(java.lang.String name)
                  throws java.io.IOException
Throws:
java.io.IOException

endSection

public void endSection()
                throws java.io.IOException
Throws:
java.io.IOException

writeEOF

public void writeEOF()
              throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

writeGroups

public void writeGroups(java.util.List<DxfGroup> groups)
                 throws java.io.IOException
Throws:
java.io.IOException

writeGroup

public void writeGroup(DxfGroup group)
                throws java.io.IOException
Throws:
java.io.IOException

writeGroup

public void writeGroup(int code,
                       java.lang.String value)
                throws java.io.IOException
Throws:
java.io.IOException

writeIntGroup

public void writeIntGroup(int code,
                          int value)
                   throws java.io.IOException
Throws:
java.io.IOException

writeStringGroup

public void writeStringGroup(int code,
                             java.lang.String value)
                      throws java.io.IOException
Throws:
java.io.IOException

writeUnicodeGroup

public void writeUnicodeGroup(int code,
                              java.lang.String value)
                       throws java.io.IOException
Throws:
java.io.IOException

writeFloatGroup

public void writeFloatGroup(int code,
                            float value)
                     throws java.io.IOException
Throws:
java.io.IOException

writeDoubleGroup

public void writeDoubleGroup(int code,
                             double value)
                      throws java.io.IOException
Throws:
java.io.IOException

writeHexGroup

public void writeHexGroup(int code,
                          long value)
                   throws java.io.IOException
Throws:
java.io.IOException