public class PreviewStorage.NotifyingFileOutputStream
extends java.io.FileOutputStream
| Constructor and Description |
|---|
NotifyingFileOutputStream(java.io.File file,
java.lang.String tempExtension,
com.box.androidsdk.content.models.BoxFile boxFile,
com.box.androidsdk.preview.cache.PreviewStorage.StorageFileType fileType) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
delete() |
void |
flush() |
public NotifyingFileOutputStream(java.io.File file,
java.lang.String tempExtension,
com.box.androidsdk.content.models.BoxFile boxFile,
com.box.androidsdk.preview.cache.PreviewStorage.StorageFileType fileType)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FileOutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic boolean delete()