com.elasticpath.persistence
Interface PrintWriter

All Known Implementing Classes:
PrintWriterImpl

public interface PrintWriter

Represents a print writer.


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.
 

Method Detail

close

void close()
           throws EpPersistenceException
Close the file.

Throws:
EpPersistenceException - in case of any IO error happens

open

void open(java.lang.String fileName)
          throws EpPersistenceException
Open a file to write.

Parameters:
fileName - the file name
Throws:
EpPersistenceException - if any error happens

println

void println(java.lang.String string)
             throws EpPersistenceException
Writes the given string as a line.

Parameters:
string - the string to write
Throws:
EpPersistenceException - in case any error happens