public void writeSasFileProperties()

in src/main/java/com/epam/parso/impl/CSVMetadataWriterImpl.java [166:189]


    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();
    }