public interface SecondaryStorage
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
This allows you to ask the secondary storage to clean up after itself.
|
long |
getMemoryLimitBeforeUse()
Returns the number of characters that should be stored in memory before this secondary storage.
|
void |
write(char[] chars,
int off,
int len) |
void |
write(int c) |
void |
write(java.lang.String str) |
void |
write(java.lang.String str,
int off,
int len) |
void |
writeTo(java.io.Writer out)
This method will close the "secondary storage" and write the captured output
to the specified output writer.
|
long getMemoryLimitBeforeUse()
void write(int c)
throws java.io.IOException
java.io.IOExceptionWriter.write(int)void write(char[] chars,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionWriter.write(char[], int, int)void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionWriter.write(String, int, int)void write(java.lang.String str)
throws java.io.IOException
java.io.IOExceptionWriter.write(String)void writeTo(java.io.Writer out)
throws java.io.IOException
out - the output writer to send the stored datajava.io.IOException - if the data cant be writtenvoid cleanUp()