java/sql-dk/src/info/globalcode/sql/dk/batch/BatchConstants.java
author František Kučera <franta-hg@frantovo.cz>
Wed, 08 Jan 2014 19:18:52 +0100
branchv_0
changeset 146 4f4f515df807
parent 144 d273d7c6dc0c
permissions -rw-r--r--
BatchDecoder: basic decoder
franta-hg@144
     1
/**
franta-hg@144
     2
 * SQL-DK
franta-hg@144
     3
 * Copyright © 2014 František Kučera (frantovo.cz)
franta-hg@144
     4
 *
franta-hg@144
     5
 * This program is free software: you can redistribute it and/or modify
franta-hg@144
     6
 * it under the terms of the GNU General Public License as published by
franta-hg@144
     7
 * the Free Software Foundation, either version 3 of the License, or
franta-hg@144
     8
 * (at your option) any later version.
franta-hg@144
     9
 *
franta-hg@144
    10
 * This program is distributed in the hope that it will be useful,
franta-hg@144
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@144
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@144
    13
 * GNU General Public License for more details.
franta-hg@144
    14
 *
franta-hg@144
    15
 * You should have received a copy of the GNU General Public License
franta-hg@144
    16
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@144
    17
 */
franta-hg@144
    18
package info.globalcode.sql.dk.batch;
franta-hg@144
    19
franta-hg@144
    20
import java.nio.charset.Charset;
franta-hg@144
    21
import java.nio.charset.StandardCharsets;
franta-hg@144
    22
franta-hg@144
    23
/**
franta-hg@144
    24
 *
franta-hg@144
    25
 * @author Ing. František Kučera (frantovo.cz)
franta-hg@144
    26
 */
franta-hg@144
    27
public class BatchConstants {
franta-hg@144
    28
franta-hg@144
    29
	public static final Charset CHARSET = StandardCharsets.UTF_8;
franta-hg@144
    30
	public static final byte VERSION = 0x01;
franta-hg@146
    31
	public static final byte[] BATCH_HEADER = {0x00, 0x53, 0x51, 0x4C, VERSION};
franta-hg@144
    32
franta-hg@144
    33
	private BatchConstants() {
franta-hg@144
    34
	}
franta-hg@144
    35
}