public final class FileImageService extends Object implements ImageResourceProvider
Modifier and Type | Method and Description |
---|---|
ImageResource |
getImageResource(int nIdResource)
Return the Resource id
|
static FileImageService |
getInstance()
Get the unique instance of the service
|
String |
getResourceTypeId()
Return the Resource Type id
|
static void |
init()
Init
|
void |
register()
Initializes the service
|
public static void init()
LuteceInitException
- if an error occurspublic void register()
public static FileImageService getInstance()
public ImageResource getImageResource(int nIdResource)
getImageResource
in interface ImageResourceProvider
nIdResource
- The resource identifierpublic String getResourceTypeId()
getResourceTypeId
in interface ImageResourceProvider
Copyright © 2020 City of Paris. All rights reserved.