HTFileSystemResourceContext class

HTResourceContext are a set of files and folders under a folder or a path.

Inheritance
  • Object
  • HTResourceContext<HTSource>
  • HTFileSystemResourceContext

Constructors

HTFileSystemResourceContext({String? root, Map<String, HTSource>? cache, List<HTFilterConfig> includedFilter = const [], List<HTFilterConfig> excludedFilter = const [], List<String> binaryFileExtensions = const [], bool doScanRoot = false})

Properties

binaryFileExtensions List<String>
final
hashCode int
The hash code for this object.
no setterinherited
included Set<String>
final
root String
Create a HTFileSystemContext Create a HTOverlayContext
latefinaloverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addResource(String fullName, HTSource resource) → void
override
checkExtension(String ext) → HTResourceType
inherited
contains(String key) bool
override
getAbsolutePath({String key = '', String? dirName, String? fileName}) String
Get a unique absolute normalized path.
override
getResource(String key, {String? from}) → HTSource
Import a resource with a certain key, ignore those already imported
override
init() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeResource(String fullName) → void
override
toString() String
A string representation of this object.
inherited
updateResource(String fullName, HTSource resource) → void
override

Operators

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