Menu

MDIUtilities / Blog: Recent posts

Version 1.2.32 released

Add some protection on the JFileSelector against possible InterruptedException (task rejected)
Fix some case where the JFileSelector widget was incorrectly aligned

Posted by Hervé Girod 2022-09-25

Version 1.2.31 released

Now automatically remove the initial minus character before an argument in the LauncherUtils class
Improve the usage of the LauncherUtils class for the start parameters

Posted by Hervé Girod 2022-07-17

Version 1.2.30 released

Fix a regression in 1.2.29 where getting the extension of a file or the body of the file would cause a NPE

Posted by Hervé Girod 2022-02-08

Version 1.2.29 released

Add new options for the FileUtilities.exist(URL) and FileUtilities.exist(File) method
Add new options for the FileUtilities.isURLFound(URL, ...) methods
Add a new FileUtilities.getChildURL(URL, String, int) method which allows to use options
Avoid to escape spaces in the FileUtilities.getFileNameBody(URL), FileUtilities.getFileNameWithExtension(URL), FileUtilities.getFileExtension(URL), and FileUtilities.getFileName(URL)
Fix the TestUtils project not being included in the source distrib

Posted by Hervé Girod 2022-02-08

Version 1.2.28 released

Add a BlockingTimerTask which is a TimerTask which can be blocking

Posted by Hervé Girod 2022-01-26

Version 1.2.27 released

Add method in the HexaDecoder to parse other numeric types than int

Posted by Hervé Girod 2021-12-16

Version 1.2.26 released

Handle gzip entries in the NestableURLConnection class
Add a capability in the NestableURLConstructor class to use the "jar:" wrapper protocol rather than the "zip:" protocol which is not natively handled by the JDK

Posted by Hervé Girod 2021-10-27

Version 1.2.25.6 released

Fix some cases where the FileUtilities.getAbsoluteURL(URL, relativePath) method threw a NPE

Posted by Hervé Girod 2021-10-06

Version 1.2.25.5 released

Add an option for the GenericDialog to make the dialog be always on top
Add an option to add properties to an error or information in the ResolverSAXParser

Posted by Hervé Girod 2021-10-02

Version 1.2.25.4 released

Fix the action listener source on the JMultipleFileSelector
The JMultipleFileSelector text field is now usable to determine the file

Posted by Hervé Girod 2021-09-15

Version 1.2.25.3 released

Add a method in the FileUtilities class to get the absolute path of an URL using the platform separator

Posted by Hervé Girod 2021-09-01

Version 1.2.25.2 released

The HTMLEscaper class can now work in a multithreaded environment
Add a ConcurrentHashSet class

Posted by Hervé Girod 2021-07-25

Version 1.2.25.1 released

Fix some cases where the HTMLEscaper.escapeToXML method would skip the last character of the input String

Posted by Hervé Girod 2021-07-16

Version 1.2.25 released

Fix some FileUtilities methods in the case the paths use backslash characters

Posted by Hervé Girod 2021-07-14

Version 1.2.24 released

Fix the getParent method for an URL which is an entry just under the main URL
Fix some methods using URLs in the FileUtilities class which were not working with jar or zip entries

Posted by Hervé Girod 2021-07-12

Version 1.2.23 released

Some fixes in the wiki
Add the forgotten TestUtils sources in the source zip file
Allow to exclude or include packages in the NestedURLClassLoader class loading mechanism

Posted by Hervé Girod 2021-07-11

Version 1.2.22 released

Make the FileUtilities.getChildURL(URL, String) work with URL which represent entries in a Jar or zip file
Add two methods in the FileUtilities class to get the resulting URL of a child URL in a Jar file
Add a NestedURLClassLoader class allowing to load classes which are in jar files which are in a jar or zip file

Posted by Hervé Girod 2021-07-10

Version 1.2.21 released

Fix the LauncherUtils.getUserDir(Class) method for Linux systems

Posted by Hervé Girod 2021-07-06

Version 1.2.20 released

Fix the getNextSibling() and getPreviousSibling() methods of the XMLNode class where several nodes are in the same parent and their equals() method return true
Add methods in the XMLRootDetector to get or check the qualified root name of an XML file
The XML tree elements and methods now take namespaces into account, for nodes and attributes
Add a method in the XMLSAXParser to configure several options of the parser with one method

Posted by Hervé Girod 2021-06-12

Version 1.2.19 released

Add new methods in the XMLNode class to add attributes for all primitives classes
Add new methods in the XMLNode class to get an attribute value for all primitives classes
Allow to customize the way the files path is presented in the JFileSelector class
The title field of the JFileSelector class is now protected. Add two methods to set this field after constructor

Posted by Hervé Girod 2021-05-28

Version 1.2.18 released

Avoid a NPE which could be thrown in the LauncherUtils class if one of the arguments is null
Add a class to load native libraries at runtime, after the start of the JVM
Add a HexaDecoder class to encode/decode to/from hexadecimal format
Fix a bug in the isAtLeastVersion method of the SystemUtils class for some version patterns which gave the wrong result

Posted by Hervé Girod 2021-05-16

Version 1.2.17 released

Fix the static getFileChooser() method throwing an NPE if executed before any other method

Posted by Hervé Girod 2021-04-14

Version 1.2.16 released

Fix the XMLNodesIterator class for numbered nodes
Fix the formatting of the MessageConstructor which was sometimes incorrect
The EntityListResolver now also implements the LSResourceResolver interface

Posted by Hervé Girod 2021-04-03

Version 1.2.15 released

Add an XMLNodesIterator class allowing to iterate on an XMLNodes tree
The XMLNode class is now iterable
Allow to keep the nodes line numbers when creating an XMLNodes tree
Add a clearer way to get the root XML node in the XMLNodeUtilities class
Add two methods in the FileUtilities class allowing to detect if a File or URL is an archive

Posted by Hervé Girod 2021-03-31

Version 1.2.14 released

Better handle cases where the JFileChooser creation is very slow at the JRE level
Fix some other cases where the html colors decoding could be incorrect

Posted by Hervé Girod 2021-03-03