|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.mmm.util.file.base.FileUtilImpl.PathSegment
protected static class FileUtilImpl.PathSegment
This inner class represents a segment of a glob-matching path. It is a simple container for a string and a pattern.
Field Summary | |
---|---|
private Pattern |
pattern
|
private String |
string
|
Constructor Summary | |
---|---|
FileUtilImpl.PathSegment(String string)
The constructor. |
|
FileUtilImpl.PathSegment(String string,
Pattern pattern)
The constructor. |
Method Summary | |
---|---|
Pattern |
getPattern()
This method gets the pattern. |
String |
getString()
This method gets the segment as raw string. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final String string
getString()
private final Pattern pattern
getPattern()
Constructor Detail |
---|
public FileUtilImpl.PathSegment(String string)
string
- is the string
of the segment.public FileUtilImpl.PathSegment(String string, Pattern pattern)
string
- is the string
of the segment.pattern
- is the string
parsed as pattern
.Method Detail |
---|
public String getString()
pattern
.
public Pattern getPattern()
null
if the string
is to be matched exactly.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |