@version $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/io/FileInputStreamProvider.java#0 $) $Date: 10-nov-2005.19:00:07 $ @author The Oracle ADF Faces Team
919293949596979899100101
*/ public InputStreamProvider getProvider(String name) throws IOException { File file = _resolveLocalFile(name); if (file != null) return new FileInputStreamProvider(file); // Gets an URL for the specified name. // Try a few different means to get the file as an url and then create the appropriate // InputStreamProvider from that URL. URL url = _resolveNonStaticURL(name);
397398399400401402403404405406407
{ InputStreamProvider provider = null; File file = StyleSheetEntry.resolveLocalFile(localStylesDir, filename); if (file != null) provider = new FileInputStreamProvider(file); if (provider == null) { // Gets an URL for the specified name. // Try a few different means to get the file as an url and then create the appropriate
358359360361362363364365366367368
395396397398399400401402403404405
90919293949596979899100