Title: NullBufferedWriter
Description: Daten werden zum /dev/null umgeleitet
Copyright: Copyright (c) 2003
Company: SOS GmbH
362363364365366367368369
* database password * @throws java.lang.Exception */ public SOSConnection(String driver, String url, String dbuser, String dbpassword) throws Exception { this(driver, url, dbuser, dbpassword,new SOSStandardLogger(new NullBufferedWriter( new OutputStreamWriter(System.out)), SOSStandardLogger.DEBUG9)); }
194195196197198199200201202
* @param connection connected Connection object (from a connection pool) * @throws java.lang.Exception */ public SOSConnection(Connection connection) throws Exception { this(connection, new SOSStandardLogger(new NullBufferedWriter( new OutputStreamWriter(System.out)), SOSStandardLogger.DEBUG9)); }
342343344345346347348349350
* @throws java.lang.Exception * @see #SOSConnection(String, String, String, String, SOSLogger) * @see #SOSConnection(String, String, String, String) */ public SOSConnection(String configFileName) throws Exception { this(configFileName, new SOSStandardLogger(new NullBufferedWriter( new OutputStreamWriter(System.out)), SOSStandardLogger.DEBUG9)); }
116117118119120121122123124
* * @throws Exception */ private void setStubLogger() throws Exception { if (logger == null) logger = new SOSStandardLogger(new NullBufferedWriter( new OutputStreamWriter(System.out)), SOSStandardLogger.DEBUG1); return; }
176177178179180181182183184
* * @throws Exception */ private void setDefaultLogger() throws Exception { if (logger == null) logger = new SOSStandardLogger(new NullBufferedWriter( new OutputStreamWriter(System.out)), SOSStandardLogger.DEBUG1); return; }