|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.elasticpath.persistence.impl.PrintWriterImpl
public class PrintWriterImpl
This is a default implementation of PrintWriter
. It's just a wrapper of java.io.PrintWriter
.
Constructor Summary | |
---|---|
PrintWriterImpl()
|
Method Summary | |
---|---|
void |
close()
Close the file. |
void |
open(java.lang.String fileName)
Open a file to write. |
void |
println(java.lang.String string)
Writes the given string as a line. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintWriterImpl()
Method Detail |
---|
public void close() throws EpPersistenceException
close
in interface PrintWriter
EpPersistenceException
- in case of any IO error happenspublic void open(java.lang.String fileName) throws EpPersistenceException
open
in interface PrintWriter
fileName
- the file name
EpPersistenceException
- if any error happenspublic void println(java.lang.String string) throws EpPersistenceException
println
in interface PrintWriter
string
- the string to write
EpPersistenceException
- in case any error happens
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |