Interface FileSource

All Superinterfaces:
Source
All Known Implementing Classes:
DefaultFileSource

public interface FileSource extends Source
Interface for a file-based script source.
Since:
1.0
Author:
Alain Stalder, Made in Switzerland.
  • Method Summary

    Modifier and Type
    Method
    Description
    gets the canonical file of this source, with fallback to the absolute file.

    Methods inherited from interface ch.grengine.source.Source

    equals, getId, getLastModified, hashCode, toString
  • Method Details

    • getFile

      File getFile()
      gets the canonical file of this source, with fallback to the absolute file.

      Hence fileSource.getFile().isAbsolute() always returns true.

      Returns:
      canonical file of this source
      Since:
      1.0