| Constructor and Description |
|---|
RemoteFilePath(java.lang.String path,
boolean isDirectory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.nio.charset.Charset |
getCharset() |
java.nio.charset.Charset |
getCharset(Project project) |
Document |
getDocument() |
FileType |
getFileType() |
java.io.File |
getIOFile() |
java.lang.String |
getName() |
FilePath |
getParentPath() |
java.lang.String |
getPath() |
java.lang.String |
getPresentableUrl() |
VirtualFile |
getVirtualFile() |
VirtualFile |
getVirtualFileParent() |
void |
hardRefresh() |
int |
hashCode() |
boolean |
isDirectory() |
boolean |
isNonLocal() |
boolean |
isUnder(FilePath parent,
boolean strict)
Check if the provided file is an ancestor of the current file.
|
void |
refresh() |
public VirtualFile getVirtualFile()
getVirtualFile in interface FilePathpublic VirtualFile getVirtualFileParent()
getVirtualFileParent in interface FilePathpublic java.io.File getIOFile()
getIOFile in interface FilePathFile that corresponds to the path. The path might be non-existent or not local.FilePath.isNonLocal()public java.lang.String getName()
public java.lang.String getPresentableUrl()
getPresentableUrl in interface FilePathpublic Document getDocument()
getDocument in interface FilePathpublic java.nio.charset.Charset getCharset()
getCharset in interface FilePathpublic java.nio.charset.Charset getCharset(Project project)
getCharset in interface FilePathpublic FileType getFileType()
getFileType in interface FilePathpublic void hardRefresh()
hardRefresh in interface FilePathpublic java.lang.String getPath()
public boolean isDirectory()
isDirectory in interface FilePathpublic boolean isUnder(FilePath parent, boolean strict)
FilePathpublic FilePath getParentPath()
getParentPath in interface FilePathpublic boolean isNonLocal()
isNonLocal in interface FilePathpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object