com.ftpix.sherdogparser.Constants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sherdog-parser Show documentation
Show all versions of sherdog-parser Show documentation
Library that parse sherdog website to provide java MMA database
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