Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.connect.update.util
Class FileRef.ExactFileRef

java.lang.Object
  extended by org.nuxeo.connect.update.util.FileRef
      extended by org.nuxeo.connect.update.util.FileRef.ExactFileRef
Enclosing class:
FileRef

public static class FileRef.ExactFileRef
extends FileRef


Nested Class Summary
 
Nested classes/interfaces inherited from class org.nuxeo.connect.update.util.FileRef
FileRef.ExactFileRef
 
Constructor Summary
FileRef.ExactFileRef(File file)
           
FileRef.ExactFileRef(String path)
           
 
Method Summary
 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.connect.update.util.FileRef
newFileRef, newFileRef
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileRef.ExactFileRef

public FileRef.ExactFileRef(String path)

FileRef.ExactFileRef

public FileRef.ExactFileRef(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.

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

fillPatternVariables

public void fillPatternVariables(Map<String,Object> vars)
Description copied from class: FileRef
Fill the given map with pattern variables.

Specified by:
fillPatternVariables in class FileRef

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.