public abstract class EmfDeserializer extends Object implements Deserializer
| Constructor and Description |
|---|
EmfDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
PackageMetaData |
getPackageMetaData() |
void |
init(PackageMetaData packageMetaData)
Initialize this deserializer with the given model meta data
|
abstract IfcModelInterface |
read(InputStream in,
String filename,
long fileSize,
ByteProgressReporter progressReporter)
Deserialize a stream to a model.
|
public void init(PackageMetaData packageMetaData)
Deserializerinit in interface Deserializerpublic PackageMetaData getPackageMetaData()
public abstract IfcModelInterface read(InputStream in, String filename, long fileSize, ByteProgressReporter progressReporter) throws DeserializeException
Deserializerread in interface Deserializerin - The inputstreamfilename - Name of the "file". This will usually be the original filename of the file, if there even was a file. This is mainly used to determine the content of the file, for example when uploaden IFC-ZIP filesfileSize - File size of the original file, some deserializers use this to determine memory allocations strategiesprogressReporter - An interface you can report progress toDeserializeExceptionCopyright © 2018 OpenSource BIM. All rights reserved.