public class DefaultNutsIdParser extends Object implements net.thevpc.nuts.NutsIdParser
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
NUTS_ID_PATTERN |
| Constructor and Description |
|---|
DefaultNutsIdParser(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
boolean |
isAcceptBlank() |
boolean |
isLenient() |
net.thevpc.nuts.NutsId |
parse(String nutsId)
examples : script://groupId:artifactId/version?face
script://groupId:artifactId/version script://groupId:artifactId
script://artifactId artifactId
|
net.thevpc.nuts.NutsIdParser |
setAcceptBlank(boolean acceptBlank) |
net.thevpc.nuts.NutsIdParser |
setLenient(boolean lenient) |
public static final Pattern NUTS_ID_PATTERN
public DefaultNutsIdParser(net.thevpc.nuts.NutsSession session)
public boolean isAcceptBlank()
isAcceptBlank in interface net.thevpc.nuts.NutsIdParserpublic net.thevpc.nuts.NutsIdParser setAcceptBlank(boolean acceptBlank)
setAcceptBlank in interface net.thevpc.nuts.NutsIdParserpublic net.thevpc.nuts.NutsIdParser setLenient(boolean lenient)
setLenient in interface net.thevpc.nuts.NutsIdParserpublic boolean isLenient()
isLenient in interface net.thevpc.nuts.NutsIdParserpublic net.thevpc.nuts.NutsId parse(String nutsId)
parse in interface net.thevpc.nuts.NutsIdParsernutsId - nutsIdpublic int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentCopyright © 2022 vpc open source initiative. All rights reserved.