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 FilePath
public VirtualFile getVirtualFileParent()
getVirtualFileParent
in interface FilePath
public java.io.File getIOFile()
getIOFile
in interface FilePath
File
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 FilePath
public Document getDocument()
getDocument
in interface FilePath
public java.nio.charset.Charset getCharset()
getCharset
in interface FilePath
public java.nio.charset.Charset getCharset(Project project)
getCharset
in interface FilePath
public FileType getFileType()
getFileType
in interface FilePath
public void hardRefresh()
hardRefresh
in interface FilePath
public java.lang.String getPath()
public boolean isDirectory()
isDirectory
in interface FilePath
public boolean isUnder(FilePath parent, boolean strict)
FilePath
public FilePath getParentPath()
getParentPath
in interface FilePath
public boolean isNonLocal()
isNonLocal
in interface FilePath
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object