<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Dude, where&#8217;s my class?</title>
	<atom:link href="http://blogs.sanmathi.org/ashwin/2007/02/09/dude-wheres-my-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.sanmathi.org/ashwin/2007/02/09/dude-wheres-my-class/</link>
	<description>Music, Politics and Code</description>
	<pubDate>Wed, 08 Feb 2012 23:37:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: ashwin</title>
		<link>http://blogs.sanmathi.org/ashwin/2007/02/09/dude-wheres-my-class/#comment-162</link>
		<dc:creator>ashwin</dc:creator>
		<pubDate>Fri, 09 Feb 2007 16:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=61#comment-162</guid>
		<description>Thanks for pointing this out, Dan - call it a case of too much Scorpio code of late, but I guess I didn't fully absorb what Robi was saying. It did, though, force a blog post out of me, which is not a bad thing! I've updated the post.</description>
		<content:encoded><![CDATA[<p>Thanks for pointing this out, Dan - call it a case of too much Scorpio code of late, but I guess I didn&#8217;t fully absorb what Robi was saying. It did, though, force a blog post out of me, which is not a bad thing! I&#8217;ve updated the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan G. Switzer, II</title>
		<link>http://blogs.sanmathi.org/ashwin/2007/02/09/dude-wheres-my-class/#comment-161</link>
		<dc:creator>Dan G. Switzer, II</dc:creator>
		<pubDate>Fri, 09 Feb 2007 15:54:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=61#comment-161</guid>
		<description>As Robi's blog stated, I was the one that asked him for the code. The problem I had was that I was trying to use the JavaMail API to send an attachment from a binary object already loaded in to memory.

The JavaMail API requires some kind of class derived from the DataSource class in order to generate the attachment in the e-mail. JavaMail v1.3.1 (which is what CFMX uses) only comes with a FileDataSource class--which requires the binary data be written to disk.

So, I was trying to find a quick method to search ColdFusion to see what classes I had access to. I could have written a ByteArrayDataSource (which is what most sites recommended for using w/JavaMail and binary data already loaded into memory,) but I didn't want to introduce an outside dependency.

So, by searching through the JARs in the CFMX directory, I was able to find the OctetStreamDataSource in the axis.jar which I was able to leverage.

You can read more at:
http://blog.pengoworks.com/blogger/index.cfm?action=blog:584</description>
		<content:encoded><![CDATA[<p>As Robi&#8217;s blog stated, I was the one that asked him for the code. The problem I had was that I was trying to use the JavaMail API to send an attachment from a binary object already loaded in to memory.</p>
<p>The JavaMail API requires some kind of class derived from the DataSource class in order to generate the attachment in the e-mail. JavaMail v1.3.1 (which is what CFMX uses) only comes with a FileDataSource class&#8211;which requires the binary data be written to disk.</p>
<p>So, I was trying to find a quick method to search ColdFusion to see what classes I had access to. I could have written a ByteArrayDataSource (which is what most sites recommended for using w/JavaMail and binary data already loaded into memory,) but I didn&#8217;t want to introduce an outside dependency.</p>
<p>So, by searching through the JARs in the CFMX directory, I was able to find the OctetStreamDataSource in the axis.jar which I was able to leverage.</p>
<p>You can read more at:<br />
<a href="http://blog.pengoworks.com/blogger/index.cfm?action=blog:584" rel="nofollow">http://blog.pengoworks.com/blogger/index.cfm?action=blog:584</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>http://blogs.sanmathi.org/ashwin/2007/02/09/dude-wheres-my-class/#comment-160</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Fri, 09 Feb 2007 14:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.sanmathi.org/ashwin/?p=61#comment-160</guid>
		<description>Nice tip! I just tested it on jExcel JAR file and it found it quite well. This will be excellent for debugging.</description>
		<content:encoded><![CDATA[<p>Nice tip! I just tested it on jExcel JAR file and it found it quite well. This will be excellent for debugging.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

