Interface Converter

    • Method Detail

      • accepts

        boolean accepts​(String filename)
        Check if the file can be processed by this converter.
        Parameters:
        filename - the file name
        Returns:
        true if the converter will process this file
      • convert

        boolean convert​(String path,
                        InputStream src,
                        OutputStream dest,
                        EESpecProfile profile)
                 throws IOException
        Copies the source to the destination, converting it if necessary, according to the requirements of the given profile.
        Parameters:
        path - The path to the data being converted
        src - The source data to convert
        dest - The destination to write the converted data
        profile - The profile that defines the conversion required
        Returns:
        true if the converter made a conversion to the file
        Throws:
        IOException - If the conversion fails