Skip to content

Releases: Norconex/commons-lang

norconex-commons-lang-1.7.0

07 Aug 19:10
Compare
Choose a tag to compare

norconex-commons-lang-1.6.2

22 Jul 03:34
Compare
Choose a tag to compare

Maintenance release:

  • Jar manifest now includes implementation entries and specifications entries (matching Maven pom.xml).
  • Javadoc improvements.

See website for binary downloads and documentation.

norconex-commons-lang-1.6.1

14 Jun 03:06
Compare
Choose a tag to compare

Maintenance release:

  • Added a length() method to CachedInputStream.
  • Fix NullPointerException when passing a date array containing null values in Properties#datesToStringArray(Date...).
  • Fix TextReader#readText(...) which could sometimes take forever to return (if ever).
  • Library dependency update: Apache Commons Lang 3.4.

See website for binary downloads and documentation.

norconex-commons-lang-1.6.0

27 Mar 05:34
Compare
Choose a tag to compare

Feature release:

  • New TimeIdGenerator class for generating time-based unique IDs that
    are guaranteed to be ordered and unique within a JVM.
  • New TextReader class for reading large text files, one chunk at a time,
    splitting text wisely at paragraphs/sentences/words when possible.
  • New ByteArrayOutputStream class derived from the Apache IO class of the
    same name, modified to offer methods to access subsets of bytes ranging
    form zero to the total number of bytes written so far.
  • New method IOUtil#toBufferedReader(Reader) that ensures to return
    either a BufferedReader wrapping original reader, or the reader itself
    if it already implements BufferedReader.
  • New method IOUtil#toBufferedInputStream(InputStream) that ensures to
    return either a BufferedInputStream wrapping original InputStream, or
    the input stream itself if it already implements BufferedInputStream.
  • New method IOUtil#startsWith(InputStream, byte[]) that
    returns true if given input stream starts the specified bytes array.
    (must support mark).
  • New method IOUtil#borrowBytes(InputStream, int) that
    gets and resets the specified number of bytes from the input stream
    (must support mark).
  • CachedInputStream now supports mark(int). Mark value is always
    unlimited (argument is ignored).
  • ContentType and ContentFamily now support for BIG2 and
    Quattro Pro content types.
  • More...

See website for binary downloads and documentation.

norconex-commons-lang-1.5.0

24 Nov 17:45
Compare
Choose a tag to compare

Feature release:

  • Now available on Maven Central.
  • Now licensed under The Apache License, Version 2.0.
  • New pipeline-related classes for a very simple pipeline framework for encapsulating executable tasks.
  • New Content class, referencing or holding arbitrary content (text or binary).
  • New CachedInputStream for caching input streams for re-use. Swaps memory overflow to file.
  • New CachedOutputStream for caching output streams for re-use as InputStream. Swaps memory overflow to file.
  • New EnhancedXMLStreamWriter class to facilitate writing of primitives and other types.
    More…

See website for binary downloads and documentation.

norconex-commons-lang-1.4.0

10 Jul 03:40
Compare
Choose a tag to compare

Feature release:

  • Now requires Java 7 or higher.
  • New DataUnit classe to perform data unit (KB, MB, GB, etc) conversions much like Java TimeUnit class.
  • New DataUnitFormatter to format any data unit ot a human-readable format taking into account locale and decimals
  • New percentage formatter.
  • New ContentType class to represent a file media/MIME type and obtain its usual name, content family, and file extension(s).
  • New ContentFamily class to represent a group of files of similar content types. Useful for content categorization.
  • New ObservableMap class.
  • More

See website for binary downloads and documentation.

norconex-commons-lang-1.3.2

16 Jun 04:45
Compare
Choose a tag to compare

Spaces in URLs are no longer rejected by URLNormalizer (logs a warning instead).

norconex-commons-lang-1.3.1

06 Mar 17:01
Compare
Choose a tag to compare

Fixed missing localized text for DurationUtil.

norconex-commons-lang-1.3.0

05 Mar 06:05
Compare
Choose a tag to compare

Feature release:

  • New YearMonthDay class for a local date without time.
  • New YearMonthDayInterval (and unit test) class for a local date range without time.
  • New FileMonitor and IFileChangeListener to be notified of file changes.
  • New methods on FileUtil to visit empty directories or delete empty directories older than a date.
  • Upgrade of some dependent libraries.

norconex-commons-lang-1.2.0

11 Jan 04:29
Compare
Choose a tag to compare

Minor release:

  • New getter and setter for URL "path" on HttpURL.
  • Javadoc improvements.
  • HttpURL#getLastPathSegment() no longer returns the query string with it.
  • Jars are now closed properly in ClassFinder.
  • ClassFinder#findImplementors(...) now only returns concrete classes.