The relative file path.
Absolute path of the file.
Maps the given container path to a URL and determines its content type.
The relative container path.
A ResourceLink with all the necessary metadata.
Determines the content type from the document identifier.
The input identifier.
The content-type provided with the request.
The content type of the document.
Strips the baseRequestURI from the identifier.
Incoming identifier.
A string representing the relative path.
Maps the given file path to a URL and determines its content type.
The input file path.
If the path corresponds to a file.
A ResourceLink with all the necessary metadata.
Maps the given container identifier to a file path, possibly making alterations to the direct translation.
The input identifier.
The direct translation of the identifier onto the file path.
A ResourceLink with all the necessary metadata.
Maps the given resource identifier / URL to a file path. Determines the content type if none was provided. For containers the content-type input is ignored.
The input identifier.
The content-type provided with the request.
A ResourceLink with all the necessary metadata.
Helper function that removes the internal extension, one starting with $., from the given path. Nothing happens if no such extension is present.
Check if the given relative path is valid.
A relative path, as generated by getRelativePath.
A resource identifier.
Get the absolute file path based on the rootFilepath.