We are converting apps to Android from .NET
Is there a 开发者_如何学CJava equivalent of the .NET Path.Combine() function?
Currently we check the / on each folder etc before building paths.
import java.io.File;
// ...
public static String pathCombine(String path1, String path2)
{
    File parent = new File(path1);
    File child = new File(parent, path2);
    return child.getPath();
}
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论