public static class FileRef.PatternFileRef extends FileRef
FileRef.ExactFileRef, FileRef.PatternFileRef| Modifier and Type | Field and Description |
|---|---|
protected File |
file |
protected String |
key |
protected String |
value |
| Constructor and Description |
|---|
PatternFileRef(File file) |
PatternFileRef(String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillPatternVariables(Map<String,Object> vars)
Fill the given map with pattern variables.
|
File |
getFile()
Gets the file referenced by this object.
|
String |
getKey() |
String |
getValue() |
boolean |
hasPattern()
Whether the referred file has a name pattern.
|
newFileRef, newFileRefpublic PatternFileRef(String path)
public PatternFileRef(File file)
public File getFile()
FileRefpublic boolean hasPattern()
FileRefhasPattern in class FileRefpublic void fillPatternVariables(Map<String,Object> vars)
FileReffillPatternVariables in class FileRefCopyright © 2016 Nuxeo SA. All rights reserved.