Package org.cakelab.blender.io
Class FileVersionInfo
- java.lang.Object
-
- org.cakelab.blender.io.FileVersionInfo
-
public class FileVersionInfo extends java.lang.Object
This class reads the version specifiers from struct FileGlobal which is stored in block "GLOB". We need this information here to determine the minimum and maximum blender version, the generated import/export code can understand. It is not meant to be used by API programmers. There is a facet called FileGlobal which has to be used instead for compatibility reasons.- Author:
- homac
-
-
Constructor Summary
Constructors Constructor Description FileVersionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMinsubversion()
FileHeader.Version
getMinversion()
int
getSubversion()
FileHeader.Version
getVersion()
void
read(CStruct struct, CDataReadWriteAccess cin)
-
-
-
Method Detail
-
read
public void read(CStruct struct, CDataReadWriteAccess cin) throws java.io.IOException
- Parameters:
struct
- type info for FileGlobalcin
-- Throws:
java.io.IOException
-
getSubversion
public int getSubversion()
-
getMinversion
public FileHeader.Version getMinversion()
-
getMinsubversion
public int getMinsubversion()
-
getVersion
public FileHeader.Version getVersion()
-
-