|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xebialabs.deployit.core.rest.resteasy.TemporaryFiles.TempFileStorage
public static final class TemporaryFiles.TempFileStorage
Adaption of the standard TempFileStorage found in Mime4j's TemporaryFileStorageProvider. It keeps a reference to all the streams that have been opened on the file, so that they can be closed before deleting the file.
| Constructor Summary | |
|---|---|
TemporaryFiles.TempFileStorage(java.io.File file)
|
|
| Method Summary | |
|---|---|
void |
delete()
|
java.io.InputStream |
getInputStream()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemporaryFiles.TempFileStorage(java.io.File file)
| Method Detail |
|---|
public void delete()
delete in interface org.apache.james.mime4j.storage.Storage
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface org.apache.james.mime4j.storage.Storagejava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||