Details
Description
Many of the classes in org.apache.tika.io were inlined from commons-io in TIKA-249, but these days most components use commons-io anyway, so in order to clean the dependencies on org.apache.tika.io in preparation of adding commons-io to tika-core, the following can be done:
- Replace usages of classes in org.apache.tika.io within non-core components with the corresponding classes in commons-io
- Replace usages of org.apache.tika.io.IOUtils.UTF_8 with java.nio.charset.StandardCharsets.UTF_8 (in all components, including tika-core)
- Replace other uses of String encoding names of standard charsets with their corresponding Charsets instances from StandardCharsets (this is logically related to IOUtils as these constants should have been there as UTF_8 was before Java 7)
Attachments
Attachments
Issue Links
- is related to
-
TIKA-1706 Bring back commons-io to tika-core
- Resolved