Package net.sf.jasperreports.chrome
Class ResourceManager
- java.lang.Object
-
- net.sf.jasperreports.chrome.ResourceManager
-
public class ResourceManager extends Object
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
ResourceManager.ContextMappings
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_TEMPDIR_PATH
-
Constructor Summary
Constructors Constructor Description ResourceManager()
-
Method Summary
-
-
-
Field Detail
-
PROPERTY_TEMPDIR_PATH
public static final String PROPERTY_TEMPDIR_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
instance
public static ResourceManager instance()
-
getTempFolder
public File getTempFolder(JasperReportsContext jasperReportsContext)
-
contextMappings
protected ResourceManager.ContextMappings contextMappings(JasperReportsContext jasperReportsContext)
-
getResourceLocation
public String getResourceLocation(String resourceLocation, JasperReportsContext jasperReportsContext)
-
getResourceLocation
public String getResourceLocation(String resourceLocation, RepositoryContext repositoryContext)
-
copyDataResource
public String copyDataResource(String resourceName, JasperReportsContext jasperReportsContext, InputStream data)
-
getDataResourceLocation
public String getDataResourceLocation(String resourceName, JasperReportsContext jasperReportsContext)
-
resourceMapping
protected File resourceMapping(String resourceLocation, RepositoryContext repositoryContext)
-
copyResource
protected File copyResource(String resourceLocation, RepositoryContext repositoryContext, File tempFolder)
-
copyToFile
protected void copyToFile(String resourceLocation, InputStream data, File file)
-
-