All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.daisy.streamline.api.identity.package-info Maven / Gradle / Ivy

The newest version!
/**
 * Provides an API for identifying file formats. This API
 * enhances {@link java.nio.file.Files#probeContentType(java.nio.file.Path)}
 * in two ways:
 * 
    *
  1. it supports OSGi runtime context in addition to SPI context
  2. *
  3. it supports sub type identification (commonly used with e.g. XML)
  4. *
* *

Compatibility with {@link java.nio.file.spi.FileTypeDetector}

* In an SPI environment, all implementations of {@link java.nio.file.spi.FileTypeDetector} * will be available through this API. In an OSGi environment, the default implementation * of {@link java.nio.file.spi.FileTypeDetector} will be available as * well as any implementations provided by the package that is using this API. * * @author Joel Håkansson */ package org.daisy.streamline.api.identity;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy