/*
*
* Copyright (c) 2007
* Adrian Michel
* http://www.tradery.com
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation. Adrian Michel makes no
* representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*/
package com.tradery.contentmodel;
import java.io.BufferedWriter;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.io.IOException;
import java.io.OutputStream;
class ModelWriter
{
private static BufferedWriter out = null;
private static OutputStream os = null;
static
{
os = System.out;
out = new BufferedWriter( new OutputStreamWriter( os ) );
}
static void print( String str )
{
// try
{
System.out.print( str );
}
/* catch( IOException e )
{
}
*/}
static void println( String str )
{
// try
{
System.out.println( str );
}
/* catch( IOException e )
{
}
*/ }
static void println()
{
// try
{
System.out.println();
}
/* catch( IOException e )
{
}
*/}
static void print( int n )
{
System.out.print( n );
}
static void println( int n )
{
System.out.println( n );
}
static OutputStream getOutputStream()
{
return os;
}
}