public interface Deserializer
| Modifier and Type | Method and Description |
|---|---|
void |
init(PackageMetaData packageMetaData)
Initialize this deserializer with the given model meta data
|
IfcModelInterface |
read(InputStream inputStream,
String fileName,
long fileSize,
ByteProgressReporter progressReporter)
Deserialize a stream to a model.
|
void init(PackageMetaData packageMetaData)
packageMetaData - IfcModelInterface read(InputStream inputStream, String fileName, long fileSize, ByteProgressReporter progressReporter) throws DeserializeException
inputStream - 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.