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

org.mp4parser.Version Maven / Gradle / Ivy

Go to download

A generic parser and writer for all ISO 14496 based files (MP4, Quicktime, DCF, PDCF, ...)

The newest version!
package org.mp4parser;

import java.io.IOException;
import java.io.InputStreamReader;
import java.io.LineNumberReader;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * The classic version object.
 */
public class Version {
    public static final String VERSION;
    private static final Logger LOG = LoggerFactory.getLogger(Version.class);

    static {
        LineNumberReader lnr = new LineNumberReader(new InputStreamReader(Version.class.getResourceAsStream("/version2.txt")));
        String version;
        try {
            version = lnr.readLine();
        } catch (IOException e) {
            LOG.warn(e.getMessage());
            version = "unknown";
        }
        VERSION = version;

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy