001 package cpw.mods.fml.relauncher;
002
003 /**
004 * Interface for certain core plugins to register libraries to
005 * be loaded in by the FML class loader at launch time
006 *
007 * @author cpw
008 *
009 */
010 public interface ILibrarySet
011 {
012 /**
013 * Return a list of libraries available from a common location
014 *
015 * @return a list of libraries available from a common location
016 */
017 String[] getLibraries();
018 /**
019 * Return the string encoded sha1 hash for each library in the returned list
020 *
021 * @return the string encoded sha1 hash for each library in the returned list
022 */
023 String[] getHashes();
024 /**
025 * Return the root URL format string from which this library set can be obtained
026 * There needs to be a single %s string substitution which is the library name
027 * @return the root URL format string from which this library set can be obtained
028 */
029 String getRootURL();
030 }