@ Override public void writeSasFileProperties ( SasFileProperties sasFileProperties ) throws IOException { constructPropertiesString ( "Bitness: " , sasFileProperties . isU64 ( ) ? "x64" : "x86" ) ; constructPropertiesString ( "Compressed: " , sasFileProperties . getCompressionMethod ( ) ) ; constructPropertiesString ( "Endianness: " , sasFileProperties . getEndianness ( ) == 1 ? "LITTLE_ENDIANNESS" : "BIG_ENDIANNESS" ) ; constructPropertiesString ( "Encoding: " , sasFileProperties . getEncoding ( ) ) ; constructPropertiesString ( "Name: " , sasFileProperties . getName ( ) ) ; constructPropertiesString ( "File type: " , sasFileProperties . getFileType ( ) ) ; constructPropertiesString ( "File label: " , sasFileProperties . getFileLabel ( ) ) ; constructPropertiesString ( "Date created: " , sasFileProperties . getDateCreated ( ) ) ; constructPropertiesString ( "Date modified: " , sasFileProperties . getDateModified ( ) ) ; constructPropertiesString ( "SAS release: " , sasFileProperties . getSasRelease ( ) ) ; constructPropertiesString ( "SAS server type: " , sasFileProperties . getServerType ( ) ) ; constructPropertiesString ( "OS name: " , sasFileProperties . getOsName ( ) ) ; constructPropertiesString ( "OS type: " , sasFileProperties . getOsType ( ) ) ; constructPropertiesString ( "Header Length: " , sasFileProperties . getHeaderLength ( ) ) ; constructPropertiesString ( "Page Length: " , sasFileProperties . getPageLength ( ) ) ; constructPropertiesString ( "Page Count: " , sasFileProperties . getPageCount ( ) ) ; constructPropertiesString ( "Row Length: " , sasFileProperties . getRowLength ( ) ) ; constructPropertiesString ( "Row Count: " , sasFileProperties . getRowCount ( ) ) ; constructPropertiesString ( "Mix Page Row Count: " , sasFileProperties . getMixPageRowCount ( ) ) ; constructPropertiesString ( "Columns Count: " , sasFileProperties . getColumnsCount ( ) ) ; getWriter ( ) . flush ( ) ; }
The method to output the sas7bdat file properties .