java/sql-dk/src/info/globalcode/sql/dk/formatting/FormatterContext.java
author František Kučera <franta-hg@frantovo.cz>
Tue, 31 Dec 2013 17:35:33 +0100
branchv_0
changeset 104 245f1b88a3e6
parent 24 65e3fffae091
child 155 eb3676c6929b
permissions -rw-r--r--
formatter/database properties
franta-hg@24
     1
/**
franta-hg@24
     2
 * SQL-DK
franta-hg@24
     3
 * Copyright © 2013 František Kučera (frantovo.cz)
franta-hg@24
     4
 *
franta-hg@24
     5
 * This program is free software: you can redistribute it and/or modify
franta-hg@24
     6
 * it under the terms of the GNU General Public License as published by
franta-hg@24
     7
 * the Free Software Foundation, either version 3 of the License, or
franta-hg@24
     8
 * (at your option) any later version.
franta-hg@24
     9
 *
franta-hg@24
    10
 * This program is distributed in the hope that it will be useful,
franta-hg@24
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@24
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@24
    13
 * GNU General Public License for more details.
franta-hg@24
    14
 *
franta-hg@24
    15
 * You should have received a copy of the GNU General Public License
franta-hg@24
    16
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@24
    17
 */
franta-hg@24
    18
package info.globalcode.sql.dk.formatting;
franta-hg@24
    19
franta-hg@104
    20
import info.globalcode.sql.dk.configuration.Properties;
franta-hg@24
    21
import java.io.OutputStream;
franta-hg@24
    22
franta-hg@24
    23
/**
franta-hg@24
    24
 *
franta-hg@24
    25
 * @author Ing. František Kučera (frantovo.cz)
franta-hg@24
    26
 */
franta-hg@24
    27
public class FormatterContext {
franta-hg@24
    28
franta-hg@24
    29
	private OutputStream outputStream;
franta-hg@104
    30
	private Properties properties;
franta-hg@24
    31
franta-hg@104
    32
	public FormatterContext(OutputStream outputStream, Properties properties) {
franta-hg@24
    33
		this.outputStream = outputStream;
franta-hg@104
    34
		this.properties = properties;
franta-hg@24
    35
	}
franta-hg@24
    36
franta-hg@24
    37
	public OutputStream getOutputStream() {
franta-hg@24
    38
		return outputStream;
franta-hg@24
    39
	}
franta-hg@104
    40
franta-hg@104
    41
	public Properties getProperties() {
franta-hg@104
    42
		return properties;
franta-hg@104
    43
	}
franta-hg@104
    44
franta-hg@104
    45
	public void setProperties(Properties properties) {
franta-hg@104
    46
		this.properties = properties;
franta-hg@104
    47
	}
franta-hg@24
    48
}