public Set<MediaType> getSupportedTypes(ParseContext context) {
            return Collections.unmodifiableSet(new HashSet<>(Collections.singletonList(MediaType.TEXT_PLAIN)));
        }
Demonstrates Tika and its ability to sense symlinks.
tika-example/src/main/java/org/apache/tika/example/RollbackSoftware.java