Posts tagged ‘java’
Faster, More Detailed CF DirectoryList
So I wanted a better DirectoryList method for Coldfusion. Better meaning faster with more details. I found this post by Anuj Gakhar which was pretty good. I’ve added some more flexibility. It’s you’re to use; if you make improvements, please post those on the Gist so everyone can benefit.
Using RegEx and Java to Split a String in Coldfusion
I was looking for a great way to split a string using a regex expression. Ben Nadel had a good post where he’s creating an RESplit() method. This was a little more than I wanted to go into, and after some more searching I found the solution was to use Java (usually is the solution [...]
Convert an Array to Query in Coldfusion
Look below for a little function I wrote to convert an array to a query. I had to write this to allow for my use of java.io.File.list() rather than cfdirectory due to speed limitations of the latter. More on that with benchmarks later here. /* * arrayToQuery * Allows us to convert an array into [...]
