|
Log4j 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.psnc.expres.model.factory.ResourceLinksFactory
public class ResourceLinksFactory
The ResourceLinksFactory
class - Links Factory is used to get the
list of links.
Constructor Summary | |
---|---|
ResourceLinksFactory()
|
Method Summary | |
---|---|
static LinkValue |
getResourceLink(int id)
Get the resource link by the given id |
static LinkValue |
getResourceLink(int id,
java.lang.String filePath)
Get the resource link by the given id |
static java.util.List<LinkValue> |
getResourceLinks(java.lang.String filePath)
Get the resource links from the given file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceLinksFactory()
Method Detail |
---|
public static LinkValue getResourceLink(int id) throws pl.psnc.vlab.exception.ResourceNotFoundException
id
- resource identifier
pl.psnc.vlab.exception.ResourceNotFoundException
- thrown if no resource is foundpublic static LinkValue getResourceLink(int id, java.lang.String filePath) throws pl.psnc.vlab.exception.ResourceNotFoundException
id
- resource link idfilePath
- path to a Json file with resource links description
pl.psnc.vlab.exception.ResourceNotFoundException
public static java.util.List<LinkValue> getResourceLinks(java.lang.String filePath) throws pl.psnc.vlab.exception.ResourceNotFoundException
filePath
- path to a Json file with resource links description
pl.psnc.vlab.exception.ResourceNotFoundException
|
Log4j 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |