File CheckSum
9
A utility class that gets the MD5 hash of an input stream. Also includes a method for converting byte array to hex-formatted string.
8
Read a eight bytes in little endian order from the given InputStream and create a long out of them.
-2
Checks to see if a file or folder exists
The fFile variable determines whether you're
looking for a File (True) or Folder(False)
The strName variable holds the fully qualified
path you're looking For
3
this function returns the aggregated size
of all files in a directory and its subdirectories
of all files in a directory and its subdirectories
3
Retrieve information about a file
3
Check the attributes of a file or folde
0
This function tries to locate a file in a give folder (either single level, or in any sub folder). Returns the relative file and path, or FALSE if not found. Skips over "." and "..".
8
If you only want to compare yyyy-mm-dd you can use the java.sql.Date class, the valueOf method does the trick. It's perfectly safe as the sql Date class is a subclass of the Date class.
Check out the docs here for more detail.
enjoy
Check out the docs here for more detail.
enjoy
9
This is a very convenient way to remove all doubles from a List in Java. The only prerequisite is that the elements in the list have proper equals and hashCode methods.
It work by using the constructor of a Set that takes a Collection as an argument.
I poured the snippet in a little program so can run it straight away.
It work by using the constructor of a Set that takes a Collection as an argument.
I poured the snippet in a little program so can run it straight away.
0
A GroovyClassLoader demonstration. The given domain is a german water flow meter system; I think, you shouldn't be able to understand the domain, but you should be able to understand, how to load a Groovy class in Java via a GroovyClassLoader.









