All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.epam.parso.impl.ParserMessageConstants Maven / Gradle / Ivy

Go to download

Parso is a lightweight Java library designed to read SAS7BDAT datasets. The Parso interfaces are analogous to libraries designed to read table-storing files, for example, CSVReader library. Despite its small size, the Parso library is the only full-featured open-source solution to process SAS7BDAT datasets, both uncompressed, CHAR-compressed and BIN-compressed. It is effective in processing clinical and statistical data often stored in SAS7BDAT format. Parso allows converting data into CSV format.

The newest version!
/**
 * *************************************************************************
 * Copyright (C) 2015 EPAM

 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * *************************************************************************
 */

package com.epam.parso.impl;

/**
 * This is a class to store debugging info, info about errors and warnings which can be received
 * when parsing the sas7bdat file.
 */
interface ParserMessageConstants {
    /**
     * Error string if there are no available bytes in the input stream.
     */
    String EMPTY_INPUT_STREAM = "There are no available bytes in the input stream.";
    /**
     * Error string if the sas7bdat file is invalid.
     */
    String FILE_NOT_VALID = "Can not read metadata from sas7bdat file.";
    /**
     * Debug info in case of an unknown subheader signature.
     */
    String UNKNOWN_SUBHEADER_SIGNATURE = "Unknown subheader signature";
    /**
     *  Warn info if 'null' is provided as the file compression literal.
     */
    String NULL_COMPRESSION_LITERAL = "Null provided as the file compression literal, assuming no compression";
    /**
     * Debug info if no supported compression literal is found.
     */
    String NO_SUPPORTED_COMPRESSION_LITERAL = "No supported compression literal found, assuming no compression";
    /**
     * Error string if list of columns does not contain specified column name.
     */
    String UNKNOWN_COLUMN_NAME = "Unknown column name";
    /**
     * Debug info. Subheader count.
     */
    String SUBHEADER_COUNT = "Subheader count: {}";
    /**
     * Debug info. Block count.
     */
    String BLOCK_COUNT = "Block count: {}";
    /**
     * Debug info. Page type.
     */
    String PAGE_TYPE = "Page type: {}";
    /**
     * Debug info. Subheader process function name.
     */
    String SUBHEADER_PROCESS_FUNCTION_NAME = "Subheader process function name: {}";
    /**
     * Debug info. Column format.
     */
    String COLUMN_FORMAT = "Column format: {}";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy