Create Paths
Demonstrate various ways of creating Path objects
From U R I
import scalax.file.{Path}
import java.net.URI
// the URI type indicates which filesystem to use
// file:// indicates the default filesystem
val path1: Option[Path] = Path (new URI ("file:///tmp/file1"))
// include windows examples for completeness
val path2: Option[Path]= Path (new URI ("file://c:/tmp/file2"))
val path3: Option[Path]= Path (new URI ("file://c:\\tmp\\file3"))
// For opening a zip filesystem
val zipPath: Option[Path] = Path (new URI ("zip:///tmp/zipfile.zip!/file"))