Path: blob/main/src/lwjgl/java/javazoom/jl/decoder/JavaLayerHook.java
8650 views
/*1* 11/19/04 1.0 moved to LGPL.2*-----------------------------------------------------------------------3* This program is free software; you can redistribute it and/or modify4* it under the terms of the GNU Library General Public License as published5* by the Free Software Foundation; either version 2 of the License, or6* (at your option) any later version.7*8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU Library General Public License for more details.12*13* You should have received a copy of the GNU Library General Public14* License along with this program; if not, write to the Free Software15* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.16*----------------------------------------------------------------------17*/1819package javazoom.jl.decoder;2021import java.io.InputStream;2223/**24* The <code>JavaLayerHooks</code> class allows developers to change25* the way the JavaLayer library uses Resources.26*/2728public interface JavaLayerHook29{30/**31* Retrieves the named resource. This allows resources to be32* obtained without specifying how they are retrieved.33*/34public InputStream getResourceAsStream(String name);35}363738