org.nuxeo.connect.update.util
Class FileRef.ExactFileRef
java.lang.Object
org.nuxeo.connect.update.util.FileRef
org.nuxeo.connect.update.util.FileRef.ExactFileRef
- Enclosing class:
- FileRef
public static class FileRef.ExactFileRef
- extends FileRef
Method Summary |
void |
fillPatternVariables(java.util.Map<java.lang.String,java.lang.Object> vars)
Fill the given map with pattern variables. |
java.io.File |
getFile()
Get the file referenced by this object. |
boolean |
hasPattern()
Whether the referred file has a name pattern |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileRef.ExactFileRef
public FileRef.ExactFileRef(java.lang.String path)
FileRef.ExactFileRef
public FileRef.ExactFileRef(java.io.File file)
getFile
public java.io.File getFile()
- Description copied from class:
FileRef
- Get the file referenced by this object. If the FileRef could not be
resolved then null is returned.
- Specified by:
getFile
in class FileRef
- Returns:
- the referred file or null if none was found.
hasPattern
public boolean hasPattern()
- Description copied from class:
FileRef
- Whether the referred file has a name pattern
- Specified by:
hasPattern
in class FileRef
- Returns:
fillPatternVariables
public void fillPatternVariables(java.util.Map<java.lang.String,java.lang.Object> vars)
- Description copied from class:
FileRef
- Fill the given map with pattern variables.
- Specified by:
fillPatternVariables
in class FileRef
Copyright © 2010 Nuxeo SAS. All Rights Reserved.