Create Paths

Demonstrate various ways of creating Path objects

From J File

    import java.io.File
    import scalax.file.Path
    // java.file.File are always on the default filesystem
    // so filesystem is not declared
    val path1: Path = Path (new File ("/tmp/file1"))
    // include windows examples for completeness
    val path2: Path = Path (new File ("file://c:/tmp/file2"))
    val path3: Path = Path (new File ("file://c:\\tmp\\file3"))