FileInfo class

File Information

Constructors

FileInfo()
Empty default FileInfo creator. ex.: FileInfo currentFileInfo = new FileInfo(); #
FileInfo.cloneForLoader(FileInfo current, Contexts context)
Returns a new FileInfo for use in the fileLoader. ex.: FileInfo newFileInfo = new FileInfo.cloneForLoader(currentFileInfo, env); #

Properties

currentDirectory String
path to the current file, absolute
read / write
entryPath String
absolute path to the entry file
read / write
filename String
full resolved filename of current file
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
reference bool
whether the file should not be output and only output parts that are referenced
read / write
rewriteUrls int
option - whether to adjust URL's to be relative
read / write
rootFilename String
filename of the base file
read / write
rootpath String
path to append to normal URLs for this node
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited