public abstract class XMLFileWriter extends SMYLDObject
| Modifier and Type | Field and Description |
|---|---|
protected String |
fileName |
protected org.jdom2.Element |
rootElement |
NEW_LINE, OS_NEW_LINE| Constructor and Description |
|---|
XMLFileWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
compose() |
protected void |
dumpFile() |
String |
getFileName() |
org.jdom2.Element |
getRootElement() |
void |
setFileName(String fileName) |
void |
writeFileTo(String fullFileName) |
void |
writeFileToPath(String filePath) |
void |
writeFileToStream(OutputStream out) |
debug, getLenName, insertInstanceValue, printInstanceValues, toStringprotected org.jdom2.Element rootElement
protected String fileName
public void writeFileToPath(String filePath) throws IOException
IOExceptionpublic void writeFileTo(String fullFileName) throws IOException
IOExceptionprotected abstract void compose()
protected void dumpFile()
public void writeFileToStream(OutputStream out) throws IOException
IOExceptionpublic org.jdom2.Element getRootElement()
public String getFileName()
public void setFileName(String fileName)
Copyright © 2019 com.github.mfjamil. All rights reserved.