Releases: Nuix/SuperUtilities
Version 1.18.0
CustomExporter Updates
- In response to Issue #17, the class CustomExporter has been updated to support removing columns from load files during restructuring phase. See new method CustomExporter.setColumnRemovals.
- Also added new method CustomExporter.setKeepOriginalDat which when set to
true
will move the original DAT exported by Nuix into the final directory asnuix_loadfile.dat
. This isfalse
by default, so you will only get this if you explicitly ask for it. This likely won't have much use outside of comparing Nuix's original DAT to the final modified copy, but its there if you have use for it 😄
Version 1.17.0
- Added class ZipHelper with method compressDirectoryToZipFile which compresses the contents of a directory into a Zip file.
- Added method archiveCase to CaseUtility class. This method leverages
ZipHelper.compressDirectoryToZipFile
to archive a case to a Zip file.
Version 1.16.0
Small changes to RegexScanner and related classes in further attempts to reduce memory usage.
Version 1.15.2
ProfileDigester can now record generated digests as custom metadata
Version 1.15.1
Small improvements to ProfileDigester
Version 1.15.0
Added class DigestList. This class provides an in-memory representation of a Nuix binary digest list. This class is capable of loading Nuix binary digest lists into memory, modify digests present (add, remove, import) and saving out a new Nuix binary digest list file.
Version 1.14.0
Added functionality to FormatUtility class:
- Added convenience method tokenizeText(input) which uses Lucene's StandardTokenizer to tokenize arbitrary input text.
- Added convenience method getHtmlText(htmlSource) which uses Jsoup to parse HTML source input and return text.
Version 1.13.0
Added ProfileDigester class which provides functionality related to generating an MD5 digest for an item based on a concatenation of the values yielded by a MetadataProfile for a given item (and optionally the item's content text). Provides several key methods:
- generateMd5Bytes(item): Generates MD5 for the given item using the supplied MetadataProfile. Returned value is the digest as a byte array.
- generateMd5String(item): Generates MD5 for the given item using the supplied MetadataProfile. Returned value is the hexadecimal String representation of the digest. Internally calls generateMd5Bytes(item) then converts the resulting value into a String.
- addItemsToItemSet(nuixCase,itemSetName,deduplicateBy,items): Adds items to an item set using a custom expression in which MD5 generated by calling generateMd5String(item) is used for deduplication. Effectively allows you to create an item set deduplicated by a MetadataProfile.
See Test_ProfileDigester.rb for example usage.
Version 1.12.0
Updated PdfUtility with a couple new methods:
- createWaterMarkedPdf : Given a source PDF file, generates a new copy of that file with a water mark applied.
- waterMarkPrintedImages : For each provided Nuix item this method exports the PDF of that item, uses
createWaterMarkedPdf
to apply a water mark and then imports the water marked PDF back in to Nuix as the new printed image for that item.
Version 1.11.0
Updated JsonExporter to have serialization methods, similar to those already offered for Item, which support serialization of SourceItem and WorkerItem.
- JsonExporter.convertSourceItemToJsonString(nuix.SourceItem sourceItem)
- JsonExporter.convertWorkerItemToJsonString(nuix.WorkerItem workerItem)
- JsonExporter.exportSourceItemAsJson(nuix.SourceItem sourceItem, java.io.File exportFilePath)
- JsonExporter.exportWorkerItemAsJson(nuix.WorkerItem workerItem, java.io.File exportFilePath)
- JsonExporter.mapSourceItem(nuix.SourceItem sourceItem)
- JsonExporter.mapWorkerItem(nuix.WorkerItem workerItem)