Opened 2 years ago

Last modified 18 months ago

#5432 new enhancement

File utility methods

Reported by: Zimon Kuhs Owned by: Jesper Mattsson
Priority: trivial Milestone:
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

Additional utility methods are needed for file management. This refers to the org.jmodelica.util.files package.

Change History (2)

comment:1 Changed 2 years ago by Zimon Kuhs

r10047

  • Added methods to FileUtil.
    • toFile makes files from string paths.
    • filterOnExtensions extracts files with specified extensions from a collection.

comment:2 Changed 18 months ago by jsten

changeset:11161
Improved FileUtil#recursiveDelete() so that it handles non-existing files and regular files.

Note: See TracTickets for help on using tickets.