|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.core.utils.file.jt.JTFileWriter
public abstract class JTFileWriter
A writer for JT File.
Constructor Summary | |
---|---|
JTFileWriter()
|
Method Summary | |
---|---|
void |
writeFile(java.io.BufferedOutputStream stream,
BasicDataSource source)
Write a JT file to a stream. |
abstract void |
writeFile(java.io.DataOutputStream stream,
BasicDataSource source)
Write a JT file to a stream. |
void |
writeFile(java.io.File file,
BasicDataSource source)
Write a JT file to a File object. |
void |
writeFile(java.io.FileOutputStream stream,
BasicDataSource source)
Write a JT file to a stream. |
void |
writeFile(java.lang.String path,
BasicDataSource source)
Write a JT file to a file path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTFileWriter()
Method Detail |
---|
public final void writeFile(java.io.File file, BasicDataSource source) throws org.jtheque.utils.io.FileException
IJTFileWriter
writeFile
in interface IJTFileWriter
file
- The file to write to.source
- The datasource.
org.jtheque.utils.io.FileException
- Throws when an error occurs during the writing process.public final void writeFile(java.lang.String path, BasicDataSource source) throws org.jtheque.utils.io.FileException
IJTFileWriter
writeFile
in interface IJTFileWriter
path
- The path of the file to write to.source
- The datasource.
org.jtheque.utils.io.FileException
- Throws when an error occurs during the writing process.public final void writeFile(java.io.FileOutputStream stream, BasicDataSource source) throws org.jtheque.utils.io.FileException
IJTFileWriter
writeFile
in interface IJTFileWriter
stream
- The stream to write to.source
- The datasource.
org.jtheque.utils.io.FileException
- Throws when an error occurs during the writing process.public final void writeFile(java.io.BufferedOutputStream stream, BasicDataSource source) throws org.jtheque.utils.io.FileException
IJTFileWriter
writeFile
in interface IJTFileWriter
stream
- The stream to write to.source
- The datasource.
org.jtheque.utils.io.FileException
- Throws when an error occurs during the writing process.public abstract void writeFile(java.io.DataOutputStream stream, BasicDataSource source) throws org.jtheque.utils.io.FileException
stream
- The stream to write to.source
- The datasource.
org.jtheque.utils.io.FileException
- Throws when an error occurs during the writing process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |