resolvePath

public final static Identifier resolvePath(String pathToResolve, Identifier resource, String tildePath)(source)(source)
public final static Identifier resolvePath(String pathToResolve, Identifier resource)(source)(source)

Resolves the absolute path of the given resource to resolve.

Return

The found resource or null, if the path is malformed

Parameters

pathToResolve

The path to resolve

resource

The resource file to start resolving at

tildePath

The path ~ represents, or null to disable this feature