org.abstracthorizon.danube.support.logging
Class LoggingConnectionHandler.InternalFileOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FileOutputStream
          extended by org.abstracthorizon.danube.support.logging.LoggingConnectionHandler.InternalFileOutputStream
All Implemented Interfaces:
Closeable, Flushable
Enclosing class:
LoggingConnectionHandler

public static class LoggingConnectionHandler.InternalFileOutputStream
extends FileOutputStream

This is helper class that adds reference to original File class passed in FileOutputStream.

Author:
Daniel Sendula

Field Summary
protected  File file
          File
 
Constructor Summary
LoggingConnectionHandler.InternalFileOutputStream(File file)
          Constructor
 
Method Summary
 File getFile()
          Returns reference to original file object this stream is created with.
 
Methods inherited from class java.io.FileOutputStream
close, finalize, getChannel, getFD, write, write, write
 
Methods inherited from class java.io.OutputStream
flush
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

protected File file
File

Constructor Detail

LoggingConnectionHandler.InternalFileOutputStream

public LoggingConnectionHandler.InternalFileOutputStream(File file)
                                                  throws FileNotFoundException
Constructor

Parameters:
file - file
Throws:
FileNotFoundException - file not found exception
Method Detail

getFile

public File getFile()
Returns reference to original file object this stream is created with.

Returns:
reference to original file object this stream is created with


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.