java/sql-dk/src/info/globalcode/sql/dk/formatting/FormatterContext.java
branchv_0
changeset 104 245f1b88a3e6
parent 24 65e3fffae091
child 155 eb3676c6929b
equal deleted inserted replaced
103:5410b6afc839 104:245f1b88a3e6
    15  * You should have received a copy of the GNU General Public License
    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/>.
    16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
    17  */
    17  */
    18 package info.globalcode.sql.dk.formatting;
    18 package info.globalcode.sql.dk.formatting;
    19 
    19 
       
    20 import info.globalcode.sql.dk.configuration.Properties;
    20 import java.io.OutputStream;
    21 import java.io.OutputStream;
    21 
    22 
    22 /**
    23 /**
    23  *
    24  *
    24  * @author Ing. František Kučera (frantovo.cz)
    25  * @author Ing. František Kučera (frantovo.cz)
    25  */
    26  */
    26 public class FormatterContext {
    27 public class FormatterContext {
    27 
    28 
    28 	private OutputStream outputStream;
    29 	private OutputStream outputStream;
       
    30 	private Properties properties;
    29 
    31 
    30 	public FormatterContext(OutputStream outputStream) {
    32 	public FormatterContext(OutputStream outputStream, Properties properties) {
    31 		this.outputStream = outputStream;
    33 		this.outputStream = outputStream;
       
    34 		this.properties = properties;
    32 	}
    35 	}
    33 
    36 
    34 	public OutputStream getOutputStream() {
    37 	public OutputStream getOutputStream() {
    35 		return outputStream;
    38 		return outputStream;
    36 	}
    39 	}
       
    40 
       
    41 	public Properties getProperties() {
       
    42 		return properties;
       
    43 	}
       
    44 
       
    45 	public void setProperties(Properties properties) {
       
    46 		this.properties = properties;
       
    47 	}
    37 }
    48 }