All notable changes to this project will be documented in this file. This project does its best to adhere to Semantic Versioning.
0.9.0 - 2019-11-02
FileFilterUtil.standardSeparator(String, char)
overload
FileFilterUtil.standardizePathName()
->FileFilterUtil.standardSeparator()
- Clarified
Bytes
documentation
- Unused
WriteToFile
class
0.8.3 - 2019-04-01
- Fix
FileReadUtil.decode()
,readText()
,readChars()
, andreadString()
overrides failing for empty streams/files
0.8.2 - 2019-03-30
- Rewrite
FileReadUtil
:- Less array allocations
- Text decoding methods from
InputStream
->char[]
orString
with optimized directCharsetDecoder.decode()
calls - More helper methods for
File
,InputStream
, and overloads with defaultchunkSize
andcharsetDecoder
overrides - Static default
ChunkSize
andcharsetDecoder
fields with setters to allow thethreadLocalInst()
constructor defaults to be set - Bug fixes and better unit testing with
LimitedByteArrayInputStream
to replicate input streamread()
calls that only return partial and require subseqent calls
0.8.1 - 2017-12-30
- Upgrade to Java 9
- Upgrade to JUnit 5
- Update dependency
[email protected]
0.8.0 - 2017-05-28
- Moved/removed Locations class to new JLoadApp library
0.7.1 - 2016-10-08
- Updated dependency json-stringify to 0.2.0 latest version (use new instance based JsonStringify class)
0.7.0 - 2016-10-01
- Added json-stringify dependency (since JsonWrite was moved from this project to json-stringify)
- Updated dependency paths
- Removed twg2.io.write.JsonWrite, moved to new json-stringify library
0.6.4 - 2016-08-21
- Updated jcollection-util dependency to latest 0.7.0 version
0.6.3 - 2016-08-18
Matches
interface withgetMatches()
andgetFailedMatches()
(implemented byFileFilterUtil.Cache
)- Additional comments/documentation
0.6.2 - 2016-08-14
ExecuteCmd
getInputReader()
andgetErrorReader()
and marked the input and error reader fields volatile
- compiled jar file path from package-lib.json now matches where it's stored (in the /bin/ directory)
0.6.1 - 2016-08-07
- twg2.io.fileLoading.ValidInvalid
0.6.0 - 2016-08-07
- FileFilterUtil
- standardizePathName() for file separator standardization
- Builder.addFilter() for adding custom filters (previous add*() options were limited to certain string filters such as addFileExtensionFilter())
- Renamed SourceInfo -> DirectorySearchInfo
0.5.0 - 2016-06-26
- FileUtil.getFileNameWithoutExtension()
- Renamed FileUtility -> FileUtil
- Renamed FileUtil methods:
- toURL() -> toUrl()
- removeFileExtension() -> getFileWithoutExtension()
- Added JCollectionInterfaces dependency and updated JCollectionFiller dependency to latest 0.5.x version
- FileUtil getFileExtension(String), getFileWithoutExtension(String), getFileNameWithoutExtension(String) methods so that they handle paths correctly, not just file names
0.4.3 - 2016-06-21
- Additional twg2.io.fileLoading documentation
- compiled jar file to bin/
- Upgraded versions.md to CHANGELOG.md format (see http://keepachangelog.com/)
0.4.2 - 2016-04-06
- FileUtility getFileExtension() and removeFileExtension()
- FileFormatException constructors with fileName argument
0.4.1 - 2016-02-27
- twg2.io.write utilities for writing serializable objects to an Appendable destination
- Refactored twg2.io.fileLoading (SourceFiles and SourceInfo) from JParserTools library into this library
- Use latest version of JTwg2Logging (LoggingPrefixFormat instead of LoggingImpl.PrefixFormat)
0.4.0 - 2016-02-24
- Move twg2.io.log package to separate JTwg2Logging library
0.3.0 - 2016-02-17
- Moved file/directory recursive traversal from FileUtility to new FileRecursion class
- Updated FileReadUtil to only use thread local caches to prevent bugs when calling these static methods from multiple threads
- Removed some unused CharsetUtil methods
0.2.1 - 2016-01-27
- Twg2Logs.createLog() reuses one underlying log
- Fixed Twg2Logs.defaultInst() not getting set after calling initialize()
0.2.0 - 2016-01-23
- Added thread local FileReadUtil instances via FileReadUtil.threadLocalInst().
- Added Twg2Logs class with singleton like static methods for initializing a single logging instance for use across an application.
- Added Logging.Formatter interface and renamed LoggingImpl.Format -> LoggingImpl.PrefixFormat. Used to format logging data into strings.
- Changed public FileReadUtil.defaultInst field to FileReadUtil.defaultInst() method.
0.1.0 - 2016-01-19
- Initial versioning, includes process execution utilities (twg2.io.exec), simple logging (twg2.io.log), general I/O utilities, file filters, a rolling file renamer, and some other miscellaneous utilities (twg.io.files).
- Removed unused dependency on JSimpleTypes
- Removed test-check-util dependency in favor of eclipse project library reference, since it is not required at runtime unless calling methods from twg2.io.test.