com.atlassian.jira.imports.fogbugz.transformer
Class AttachmentFromMailTransformer

java.lang.Object
  extended by com.atlassian.jira.imports.fogbugz.transformer.AttachmentFromMailTransformer
All Implemented Interfaces:
ResultSetTransformer<java.util.List<ExternalAttachment>>

public class AttachmentFromMailTransformer
extends java.lang.Object
implements ResultSetTransformer<java.util.List<ExternalAttachment>>


Field Summary
 
Fields inherited from interface com.atlassian.jira.imports.importer.ResultSetTransformer
log
 
Constructor Summary
AttachmentFromMailTransformer(java.lang.String ixBug, FogBugzConfigBean configBean)
           
 
Method Summary
static java.util.List<ExternalAttachment> getAttachmentFromMimeMessage(java.lang.String s, java.lang.String attacher, java.util.Date dateAttached)
           
 java.lang.String getSqlQuery()
           
 java.util.List<ExternalAttachment> transform(java.sql.ResultSet rs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentFromMailTransformer

public AttachmentFromMailTransformer(java.lang.String ixBug,
                                     FogBugzConfigBean configBean)
Method Detail

getSqlQuery

public java.lang.String getSqlQuery()
Specified by:
getSqlQuery in interface ResultSetTransformer<java.util.List<ExternalAttachment>>

transform

public java.util.List<ExternalAttachment> transform(java.sql.ResultSet rs)
                                             throws java.sql.SQLException
Specified by:
transform in interface ResultSetTransformer<java.util.List<ExternalAttachment>>
Throws:
java.sql.SQLException

getAttachmentFromMimeMessage

public static java.util.List<ExternalAttachment> getAttachmentFromMimeMessage(java.lang.String s,
                                                                              java.lang.String attacher,
                                                                              java.util.Date dateAttached)


Copyright © 2002-2010 Atlassian. All Rights Reserved.