Class FileRef.ExactFileRef

  • Enclosing class:
    FileRef

    public static class FileRef.ExactFileRef
    extends FileRef
    • Field Detail

      • file

        protected final File file
    • Constructor Detail

      • ExactFileRef

        public ExactFileRef​(String path)
      • ExactFileRef

        public 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