public class FilenameParser extends Object
| Modifier and Type | Field and Description | 
|---|---|
private String | 
extension  | 
private static Pattern | 
extensionPattern  | 
private Matcher | 
matcher  | 
private static Pattern | 
mavenPluginPattern  | 
private String | 
name  | 
private int | 
offset  | 
private static Pattern | 
section  | 
private static Pattern | 
SNAPSHOT_PATTERN  | 
| Constructor and Description | 
|---|
FilenameParser(String filename)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
expect(String expected)  | 
String | 
getExtension()  | 
protected String | 
getName()  | 
String | 
next()  | 
String | 
nextNonVersion()  | 
protected String | 
nextVersion()  | 
String | 
remaining()  | 
void | 
reset()  | 
protected char | 
seperator()
Get the current seperator character. 
 | 
private int offset
private static final Pattern mavenPluginPattern
private static final Pattern extensionPattern
private static final Pattern SNAPSHOT_PATTERN
public FilenameParser(String filename)
public void reset()
protected char seperator()
public String getExtension()
public String nextNonVersion()
protected String nextVersion()
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.