public class FileInputStreamDataSource
extends org.bimserver.plugins.serializers.ExtendedDataSource
| Constructor and Description |
|---|
FileInputStreamDataSource(Path file) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
void |
setName(String name) |
long |
size() |
void |
writeToOutputStream(OutputStream outputStream,
org.bimserver.plugins.serializers.ProgressReporter progressReporter) |
public FileInputStreamDataSource(Path file)
public String getContentType()
public InputStream getInputStream() throws IOException
IOExceptionpublic String getName()
public OutputStream getOutputStream() throws IOException
IOExceptionpublic void setName(String name)
public long size()
public void writeToOutputStream(OutputStream outputStream, org.bimserver.plugins.serializers.ProgressReporter progressReporter) throws org.bimserver.plugins.serializers.SerializerException, IOException, org.bimserver.BimserverDatabaseException
writeToOutputStream in class org.bimserver.plugins.serializers.ExtendedDataSourceorg.bimserver.plugins.serializers.SerializerExceptionIOExceptionorg.bimserver.BimserverDatabaseExceptionCopyright © 2019 OpenSource BIM. All rights reserved.