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

com.ftpix.sherdogparser.Constants Maven / Gradle / Ivy

There is a newer version: 2.15
Show newest version
package com.ftpix.sherdogparser;


import java.io.File;
import java.util.function.Function;

/**
 * Created by gz on 20-Aug-16.
 * Default values forthe parsers
 */
public class Constants {
    public final static String SHERDOG_TIME_ZONE = "America/New_York";
    public final static int PARSING_TIMEOUT = 60000;
    public static final String FIGHTER_PICTURE_CACHE_FOLDER = "cache/";
    public static final PictureProcessor DEFAULT_PICTURE_PROCESSOR = (u, f) -> u;

    static {
        File f = new File(FIGHTER_PICTURE_CACHE_FOLDER);

        if (f.exists()) f.mkdirs();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy