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, newFileRef
public PatternFileRef(String path)
public PatternFileRef(File file)
public File getFile()
FileRef
public boolean hasPattern()
FileRef
hasPattern
in class FileRef
public void fillPatternVariables(Map<String,Object> vars)
FileRef
fillPatternVariables
in class FileRef
Copyright © 2015 Nuxeo SA. All rights reserved.