return RhinoUtils.fromCollection(context, thisObj, CollectionUtils.transform(resolvedFiles, FileFunctions.path()));
}
private static Transport getTransport(String scheme) {
if ("file".equalsIgnoreCase(scheme)) {
return new FileSystemTransport(FileSystemOptions.CreateDirectories);
}
if ("http".equalsIgnoreCase(scheme)) {
return new HttpTransport();
}