Package org.nuxeo.common.utils
Class FileRef.PatternFileRef
- java.lang.Object
-
- org.nuxeo.common.utils.FileRef
-
- org.nuxeo.common.utils.FileRef.PatternFileRef
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nuxeo.common.utils.FileRef
FileRef.ExactFileRef, FileRef.PatternFileRef
-
-
Constructor Summary
Constructors Constructor Description PatternFileRef(File file)
PatternFileRef(String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class org.nuxeo.common.utils.FileRef
newFileRef, newFileRef
-
-
-
-
Method Detail
-
getFile
public File getFile()
Description copied from class:FileRef
Gets the file referenced by this object. If the FileRef could not be resolved then null is returned.
-
getValue
public String getValue()
-
getKey
public String getKey()
-
hasPattern
public boolean hasPattern()
Description copied from class:FileRef
Whether the referred file has a name pattern.- Specified by:
hasPattern
in classFileRef
-
-