@ApplicationScoped public class TextResourceTypeDefinition extends Object implements ResourceTypeDefinition
| Constructor and Description |
|---|
TextResourceTypeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Path path)
Indicates if the current parameter path matched the current resource type
|
String |
getDescription()
A description of the resource type
|
String |
getPrefix()
Resource prefix
|
int |
getPriority()
Defines the resource priority in terms of resource resolution
|
String |
getShortName()
A short name of the resource type
|
String |
getSimpleWildcardPattern()
A simple (and maybe not very accurate) wildcard pattern to search for
this type of resource.
|
String |
getSuffix()
Resource suffix
|
public String getShortName()
ResourceTypeDefinitiongetShortName in interface ResourceTypeDefinitionpublic String getDescription()
ResourceTypeDefinitiongetDescription in interface ResourceTypeDefinitionpublic String getPrefix()
ResourceTypeDefinitiongetPrefix in interface ResourceTypeDefinitionpublic String getSuffix()
ResourceTypeDefinitiongetSuffix in interface ResourceTypeDefinitionpublic int getPriority()
ResourceTypeDefinitiongetPriority in interface ResourceTypeDefinitionpublic String getSimpleWildcardPattern()
ResourceTypeDefinitiongetSimpleWildcardPattern in interface ResourceTypeDefinitionpublic boolean accept(Path path)
ResourceTypeDefinitionaccept in interface ResourceTypeDefinitionCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.