ResolverReference

constructor(resolver: ModuleRootResolver, uri: URI, qualifiedName: String, type: ResourceType, mimeType: String, lastModified: Long, size: Long, localName: String = "", forcedDigest: ByteArray? = null)

Construct a ResolverReference.

Parameters

resolver

The ModuleRoot the file referenced by ResolverReference belongs to.

The URI of the file this ResolverReference refers to.

qualifiedName

The fully-qualified name of the module or resource.

type

The ResourceType that describes what this reference points to.

mimeType

The file MIME type of the associated resource.

lastModified

The time in millis since the unix epoch, preferably UTC, when this was last modified. This value will be zero for directories.

size

The size in bytes of the file or 0 if a directory.