FilePath
Path
getParent
public // FilePath
Path
getParent()
coerceToFilePathOrNull
public static FilePath coerceToFilePathOrNull(Object path)
compareTo
public int compareTo(Object obj)
compareTo
public int compareTo(FilePath path)
equals
public boolean equals(Object obj)
exists
public boolean exists()
- exists in interface Path
getLast
public String getLast()
- getLast in interface Path
getPath
public String getPath()
- getPath in interface Path
hashCode
public int hashCode()
isDirectory
public boolean isDirectory()
Does this path name a directory?
The default implementation returns true only if the path ends
with '/' or the separatorChar.
- isDirectory in interface Path
makeFilePath
public static FilePath makeFilePath(Object arg)
openInputStream
public InputStream openInputStream()
throws IOException
- openInputStream in interface Path
openOutputStream
public OutputStream openOutputStream()
throws IOException
- openOutputStream in interface Path
toFile
public File toFile()
toString
public String toString()
toURI
public URI toURI()
- toURI in interface Path
toURL
public URL toURL()
- toURL in interface Path
valueOf
public static FilePath valueOf(File file)
valueOf
public static FilePath valueOf(String str)