public static ProjectLocator getProjectStorageLocator(URL localProjectURL) {
		if (!isLocalProjectURL(localProjectURL)) {
			throw new IllegalArgumentException("Invalid local Ghidra project URL");
		}

		String path = localProjectURL.getPath(); // assume path always starts with '/'

//		if (path.indexOf(":/") == 2 && Character.isLetter(path.charAt(1))) { // check for drive letter after leading '/'
//			if (Platform.CURRENT_PLATFORM.getOperatingSystem() == OperatingSystem.WINDOWS) {
//				path = path.substring(1); // Strip-off leading '/'
//			}
//			else {
//				// assume drive letter separator ':' should be removed for non-windows
//				path = path.substring(0, 2) + path.substring(3);
//			}
//		}

		int index = path.lastIndexOf('/');
		String dirPath = index != 0 ? path.substring(0, index) : "/";

		String name = path.substring(index + 1);
		if (name.length() == 0) {
			return null;
		}

		return new ProjectLocator(dirPath, name);
	}
Get the project locator which corresponds to the specified local project URL.
Confirm local project URL with {@link #isLocalProjectURL(URL)} prior to method use.
@param localProjectURL local Ghidra project URL
@return project locator or null if invalid path specified
@throws IllegalArgumentException URL is not a valid 
{@link #isLocalProjectURL(URL) local project URL}.
Ghidra/Framework/Project/src/main/java/ghidra/framework/protocol/ghidra/GhidraURL.java