Package sos.util

Examples of sos.util.NullBufferedWriter


     *            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));
    }
View Full Code Here


     * @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));

    }
View Full Code Here

     * @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));
    }
View Full Code Here

     *
     * @throws Exception
     */
    private void setStubLogger() throws Exception {
        if (logger == null)
        logger = new SOSStandardLogger(new NullBufferedWriter(
                new OutputStreamWriter(System.out)), SOSStandardLogger.DEBUG1);
        return;
    }
View Full Code Here

     *
     * @throws Exception
     */
    private void setDefaultLogger() throws Exception {
        if (logger == null)
        logger = new SOSStandardLogger(new NullBufferedWriter(
                new OutputStreamWriter(System.out)), SOSStandardLogger.DEBUG1);
        return;
    }
View Full Code Here

TOP

Related Classes of sos.util.NullBufferedWriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.