public class CogXmlWriter
extends java.lang.Object
You might as well use the methods in CogXmlLib, since any usage of CogXmlWriter will pretty much be the same three lines - construct, write, close.
Copyright 2003-2009 Partner Software, Inc.
| Constructor and Description |
|---|
CogXmlWriter(java.io.File outputFile) |
CogXmlWriter(VfsFile outputFile) |
CogXmlWriter(java.io.Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isCompact()
If compact is true, no extra newlines or spaces are added to the XML.
|
void |
setCompact(boolean isCompact) |
void |
writeCog(Cog cog) |
public CogXmlWriter(VfsFile outputFile) throws java.io.IOException
java.io.IOExceptionpublic CogXmlWriter(java.io.File outputFile)
throws java.io.IOException
java.io.IOExceptionpublic CogXmlWriter(java.io.Writer writer)
throws java.io.IOException
java.io.IOExceptionpublic void writeCog(Cog cog) throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic boolean isCompact()
public void setCompact(boolean isCompact)