com.admc.jamama.repository
Class AppendFile
java.lang.Object
com.admc.jamama.repository.AppendFile
- public class AppendFile
- extends java.lang.Object
Prototype repository to store to a file.
This was written very early in prototyping and probably needs to be
completely re-written. The remaining notes were written long ago
and could very well be obsolete now.
This class should take destination string and data and figure
out which file and style to use to append that data to which file.
This class should actually be a factory to "get" the destination
mailbox files with the append operation.
TODO: Write more efficiently. No need for a printwriter here.
|
Constructor Summary |
AppendFile(java.lang.String inFormat,
java.io.File inDir)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppendFile
public AppendFile(java.lang.String inFormat,
java.io.File inDir)
getFileRepository
public static AppendFile getFileRepository()
append
public void append(java.lang.String boxID,
java.lang.String sender,
java.lang.String data)
throws java.io.IOException
- Throws:
java.io.IOException