/* * This file is part of Fim - File Integrity Manager * * Copyright (C) 2017 Etienne Vrignaud * * Fim is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Fim is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Fim. If not, see <http://www.gnu.org/licenses/>. */ package org.fim.model; public class Constants { public static final int _1_KB = 1_024; public static final int _4_KB = 4 * _1_KB; public static final int _1_MB = 1_024 * _1_KB; public static final int _10_MB = 10 * _1_MB; public static final int _20_MB = 20 * _1_MB; public static final int _50_MB = 50 * _1_MB; public static final int _100_MB = 100 * _1_MB; public static final int _200_MB = 200 * _1_MB; public static final int _1_GB = 1_024 * _1_MB; public static final String NO_HASH = "no_hash"; }