public class DiskCacheOutputStream
extends org.bimserver.plugins.serializers.RemovableFileOutputStream
| Constructor and Description |
|---|
DiskCacheOutputStream(DiskCacheManager diskCacheManager,
Path file,
DownloadParameters downloadParameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
DownloadParameters |
getDownloadParameters() |
String |
getName() |
void |
remove() |
void |
waitForFinish() |
write, writeflush, writepublic DiskCacheOutputStream(DiskCacheManager diskCacheManager, Path file, DownloadParameters downloadParameters) throws FileNotFoundException
FileNotFoundExceptionpublic DownloadParameters getDownloadParameters()
public void waitForFinish()
throws InterruptedException
InterruptedExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.bimserver.plugins.serializers.RemovableFileOutputStreamIOExceptionpublic void remove()
throws IOException
remove in class org.bimserver.plugins.serializers.RemovableFileOutputStreamIOExceptionpublic String getName()
public void cancel()
cancel in class org.bimserver.plugins.serializers.RemovableFileOutputStreamCopyright © 2019 OpenSource BIM. All rights reserved.