| |
|
| java.lang.Object org.pdfbox.util.ResourceLoader
ResourceLoader | public class ResourceLoader (Code) | | This class will handle loading resource files(AFM/CMAP).
author: Ben Litchfield version: $Revision: 1.8 $ |
Method Summary | |
public static Properties | loadProperties(String resourceName) This will attempt to load the resource given the resource name.
Parameters: resourceName - The resource to try and load. | public static Properties | loadProperties(String resourceName, Properties defaults) This will attempt to load the resource given the resource name.
Parameters: resourceName - The resource to try and load. Parameters: defaults - A stream of default properties. | public static InputStream | loadResource(String resourceName) This will attempt to load the resource given the resource name.
Parameters: resourceName - The resource to try and load. |
loadProperties | public static Properties loadProperties(String resourceName) throws IOException(Code) | | This will attempt to load the resource given the resource name.
Parameters: resourceName - The resource to try and load. The resource as a stream or null if it could not be found. throws: IOException - If there is an error loading the properties. |
loadProperties | public static Properties loadProperties(String resourceName, Properties defaults) throws IOException(Code) | | This will attempt to load the resource given the resource name.
Parameters: resourceName - The resource to try and load. Parameters: defaults - A stream of default properties. The resource as a stream or null if it could not be found. throws: IOException - If there is an error loading the properties. |
loadResource | public static InputStream loadResource(String resourceName) throws IOException(Code) | | This will attempt to load the resource given the resource name.
Parameters: resourceName - The resource to try and load. The resource as a stream or null if it could not be found. throws: IOException - If there is an error while attempting to load the resource. |
|
|
|