Package de.aristaflow.adept2.util.io
package de.aristaflow.adept2.util.io
-
ClassesClassDescriptionAn
AttributedInputStreamwraps an input stream and allows for attributing it.Deprecated, for removal: This API element is subject to removal in a future version.The clean-up task deleting the temporary file if appropriateThis stream ensures post-mortem clean-up of resources byclosingthe wrapped input stream.ARereadableContentbased on a file.This class implements the cleanup without referring to theRereadableContentit cleans up.A class providing several IO-related tool methods.IoTools.Quiet<C extends AutoCloseable>This class wraps anAutoCloseableand logs the exception from closing.IoTools.Unchecked<C extends AutoCloseable>This class wraps anAutoCloseableand wraps the exception from closing in aRuntimeExceptionif necessary.Tool class providing methods for retrieving the media type of a specific (file) name or content (InputStreamorbyte[]).ADetectorwhich replaces deprecated media types returned by Tika.ARereadableContentbased on memory data.This class implements the cleanup (nulling the byte array) without referring to theRereadableContentit cleans up.TheRereadableContentcan be used when the content of anInputStreamneeds to be processed multiple times.TheCleanupTaskdoing the clean-up (RereadableContent.close()) independently from theRereadableContent.This class is an input stream that also provides theRereadableContentit has been created for.ARereadableContentBuilderprovides the means for creatingRereadableContent.TheCleanupTaskdoing the clean-up (RereadableContentBuilder.close()) independently from theRereadableContentBuilder.This class is anOutputStreamthat stores to memory or file (depending on the data size).ARereadableContentbased on anotherRereadableContent.
RereadableContentinstead.