resolvePath abstract method
Resolves the given path relative to the currentDirectory and the specific file system rules (physical or virtual).
Implementations must handle normalization, security checks (staying within allowed boundaries), and mapping (for virtual systems).
Implementation
String resolvePath(String path);