Class FileHtmlResourceHandler
- java.lang.Object
-
- net.sf.jasperreports.engine.export.FileHtmlResourceHandler
-
- All Implemented Interfaces:
HtmlResourceHandler
public class FileHtmlResourceHandler extends Object implements HtmlResourceHandler
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_RESOURCES_DIRECTORY_NOT_SPECIFIED
-
Constructor Summary
Constructors Constructor Description FileHtmlResourceHandler(File parentFolder)
FileHtmlResourceHandler(File parentFolder, String pathPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getResourcePath(String id)
void
handleResource(String id, byte[] data)
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_RESOURCES_DIRECTORY_NOT_SPECIFIED
public static final String EXCEPTION_MESSAGE_KEY_RESOURCES_DIRECTORY_NOT_SPECIFIED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResourcePath
public String getResourcePath(String id)
- Specified by:
getResourcePath
in interfaceHtmlResourceHandler
-
handleResource
public void handleResource(String id, byte[] data)
- Specified by:
handleResource
in interfaceHtmlResourceHandler
-
-