Skip to content

Releases: robtimus/fs-core

2.3

02 Dec 12:59
Compare
Choose a tag to compare

Added methods normalizedPath and isNormalized to SimpleAbstractPath.

SimpleAbstractPath.normalize now no longer creates a new instance if the path is already normalized.

Added methods addIfNotExists, find and status to FileSystemMap.

2.2

02 Mar 13:20
Compare
Choose a tag to compare
2.2

Added classes FileAttributeConstants, FileAttributeSupport, FileAttributeViewMetadata and FileAttributeViewCollection that can help in implementing methods like FileSystemProvider.readAttributes or FileSystemProvider.setAttribute.

Added method Messages.fileSystemProvider().unsupportedCreateFileAttributeValue that returns an exception that can be thrown if a FileAttribute is provided to methods like FileSystemProvider.createDirectory with an unsupported value.

Added several constants to class SimpleAbstractPath that can be used in the implementation of file systems.

2.1

29 Oct 12:44
Compare
Choose a tag to compare
2.1

Added class FileSystemMap which provides a thread-safe way of storing file systems without unnecessary locking during the creation of file systems.

2.0.2

30 Jul 12:59
Compare
Choose a tag to compare

Class Messages now works properly on Java 11 and up. Older versions would trigger an UnsupportedOperationException due to the use of a custom ResourceBundle.Control.

2.0.1

15 Nov 12:11
Compare
Choose a tag to compare

If the property type is a string, methods getByteValue, getShortValue, getIntValue, getLongValue, getFloatValue and getDoubleValue of class FileSystemProviderSupport now try to parse the property value and not the property name.

2.0

10 Oct 11:46
Compare
Choose a tag to compare
2.0

Updated to require Java 8.
Added module descriptor.

fs-core-1.3

06 Apr 17:49
Compare
Choose a tag to compare

Added Messages.fileChannel for providing messages and exceptions for file channels.

fs-core-1.2

08 Jan 13:44
Compare
Choose a tag to compare

Made UTF8Control a top-level public class.

fs-core-1.1

27 Dec 13:44
Compare
Choose a tag to compare

Added class PosixFilePermissionSupport for converting PosixFilePermission sets to and from bit masks.

fs-core-1.0

22 Dec 12:45
Compare
Choose a tag to compare

Initial release.