001/*
002 * Forge Mod Loader
003 * Copyright (c) 2012-2013 cpw.
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the GNU Lesser Public License v2.1
006 * which accompanies this distribution, and is available at
007 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
008 * 
009 * Contributors:
010 *     cpw - implementation
011 */
012
013package cpw.mods.fml.relauncher;
014
015/**
016 * Interface for certain core plugins to register libraries to
017 * be loaded in by the FML class loader at launch time
018 *
019 * @author cpw
020 *
021 */
022public interface ILibrarySet
023{
024    /**
025     * Return a list of libraries available from a common location
026     *
027     * @return a list of libraries available from a common location
028     */
029    String[] getLibraries();
030    /**
031     * Return the string encoded sha1 hash for each library in the returned list
032     *
033     * @return the string encoded sha1 hash for each library in the returned list
034     */
035    String[] getHashes();
036    /**
037     * Return the root URL format string from which this library set can be obtained
038     * There needs to be a single %s string substitution which is the library name
039     * @return the root URL format string from which this library set can be obtained
040     */
041    String getRootURL();
042}