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