org.ow2.petals.bc.filetransfer.util
Class TransferReport
java.lang.Object
org.ow2.petals.bc.filetransfer.util.TransferReport
public class TransferReport
- extends java.lang.Object
Utility class to handle the transfer report
- Author:
- rnaudin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
ROOT_ELEMENT
public static final java.lang.String ROOT_ELEMENT
- See Also:
- Constant Field Values
FILE_ELEMENT
public static final java.lang.String FILE_ELEMENT
- See Also:
- Constant Field Values
FILENAME_ATTRIBUTE
public static final java.lang.String FILENAME_ATTRIBUTE
- See Also:
- Constant Field Values
TRANSFER_ATTRIBUTE
public static final java.lang.String TRANSFER_ATTRIBUTE
- See Also:
- Constant Field Values
FILENAME_OK
public static final java.lang.String FILENAME_OK
- See Also:
- Constant Field Values
FILENAME_KO
public static final java.lang.String FILENAME_KO
- See Also:
- Constant Field Values
EXCEPTION_ELEMENT
public static final java.lang.String EXCEPTION_ELEMENT
- See Also:
- Constant Field Values
TransferReport
public TransferReport()
- Default constructor
- Throws:
javax.xml.parsers.ParserConfigurationException
addTransferedFile
public void addTransferedFile(java.io.File file,
java.lang.Exception exception)
- Add a transfered file to the report.
- Parameters:
file - The file objectexception - The exception if the transfer has failed, null
otherwise
generateRawReport
public java.lang.String generateRawReport()
generateXmlReport
public org.w3c.dom.Document generateXmlReport()
- Generate the report of the transfers done.
- Returns:
- the document describing the report
containsFailedTransfer
public boolean containsFailedTransfer()
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.