About GroboUtils For Developers | GroboUtilIO version 1.0.0alpha2 UsingAuthor:Matt Albrecht ContentsFile FiltersThe various Java versions provide interfaces for file filters, which are used in the java.io.File methods and in Swing file choosers. However, there isn't an easy way to create a robust filter. These classes attempt to fill the gap in the API. Stream GeneratorsI have discovered may occations when a generic API of mine has one input stream referencing some other input stream. As an example, XML allows for inclusion of other XML documents through the SYSTEM entity tag. Being able to load these other resources without knowing the details behind where they come from seems incredibly useful in these situations. The Stream Generator set of classes try to fill this need by providing a factory to create new InputStreams. Mime StreamsMIME-conversion streams. Nothing special, and nothing particularly efficient, either. The JSP libraries have better versions, so I suggest using those. Stream Reader HelpersHow many times do you find the need to read the entire contents from a stream or reader? The ReadByteStream and ReadStringStream classes provide the relatively trivial (yet repetitive) task of reading entire contents of a stream or reader. FileUtilsProvides simple helper utilities related to file systems, such as:
Property DatabaseThe PropertyDatabase class provides means of having a set of default properties, and allowing for per-user alterations. Useful for UIs that allow for user configurable options. |
This space graciously provided by the SourceForge project | Copyright ©
2002-2004 GroboUtils Project. All rights reserved. |