org.omnaest.utils.streams
Class StreamConnector.TransferResult

java.lang.Object
  extended by org.omnaest.utils.streams.StreamConnector.TransferResult
Enclosing class:
StreamConnector

public static class StreamConnector.TransferResult
extends Object


Field Summary
protected  Exception exception
           
protected  boolean successful
           
protected  int transferSizeInBytes
           
 
Constructor Summary
StreamConnector.TransferResult(boolean successful, int transferSizeInBytes, Exception exception)
           
 
Method Summary
 Exception getException()
           
 int getTransferSizeInBytes()
           
 boolean isSuccessful()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

successful

protected boolean successful

transferSizeInBytes

protected int transferSizeInBytes

exception

protected Exception exception
Constructor Detail

StreamConnector.TransferResult

public StreamConnector.TransferResult(boolean successful,
                                      int transferSizeInBytes,
                                      Exception exception)
Parameters:
successful -
transferSizeInBytes -
exception -
Method Detail

isSuccessful

public boolean isSuccessful()

getTransferSizeInBytes

public int getTransferSizeInBytes()

getException

public Exception getException()


Copyright © 2013. All Rights Reserved.