|
|
||
Overview . Download . Source . Javadoc . Mailing List . Caramel @ Sourceforge |
Caramel is a collection of open-source Java utility classes. Caramel includes
.jnlp
,
to save a stream to a file,
to pack a file's content into a string,
to copy a file and much more.
Class | Description |
---|---|
ClassUtils
|
Use getJarFileName()
to find out the jar's file name
housing the passed in class.
|
ColorUtils
|
Use more than a hundred predefined colors by name such as azure, chocolate, deepskyblue, indigo, sienna, tomato and so on. |
DateUtils
|
Use getHttpDate()
to get a timestamp in a RFC-1123 format
used by millions of web servers.
|
FileUtils
|
Use getFileExtension()
to get a file's extension such as .jnlp .
Use saveStreamToFile()
to save a stream to a file with a one-liner.
Use getFileAsString()
to pack a file's content into a string with a one-liner.
Use copy() to copy a file with a one-liner.
|
MimeUtils
|
Use guessContentTypeFromName()
to guess a files MIME type by its file extension.
|
NetUtils
|
Use isLoopbackIp() ,
isPrivateIp() ,
getIpClass()
and more to analyze IP addresses.
|
StringUtils
|
Use fillTemplate()
as a tiny template engine.
Use getPrettyPrintedDateDifference()
to get date differences in plain English
such as 5 days ago, yesterday or 3 hours ago.
|
|
Send your comments, suggestions, praise or poems to webmistress@vamphq.com | Copyright © 2001, 2002, 2003 Gerald Bauer |