Package org.nuxeo.common.utils
Class FileRef.ExactFileRef
- java.lang.Object
-
- org.nuxeo.common.utils.FileRef
-
- org.nuxeo.common.utils.FileRef.ExactFileRef
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nuxeo.common.utils.FileRef
FileRef.ExactFileRef, FileRef.PatternFileRef
-
-
Constructor Summary
Constructors Constructor Description ExactFileRef(File file)
ExactFileRef(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.boolean
hasPattern()
Whether the referred file has a name pattern.-
Methods inherited from class org.nuxeo.common.utils.FileRef
newFileRef, newFileRef
-
-
-
-
Field Detail
-
file
protected final File file
-
-
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.
-
hasPattern
public boolean hasPattern()
Description copied from class:FileRef
Whether the referred file has a name pattern.- Specified by:
hasPattern
in classFileRef
-
-