LocalFilePath instead.@Deprecated public class FilePathImpl extends java.lang.Object implements FilePath
| Constructor and Description |
|---|
FilePathImpl(java.lang.String path,
boolean isDirectory)
Deprecated.
|
FilePathImpl(VirtualFile file)
Deprecated.
Use
LocalFilePath. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Deprecated.
|
java.nio.charset.Charset |
getCharset()
Deprecated.
|
java.nio.charset.Charset |
getCharset(Project project)
Deprecated.
|
Document |
getDocument()
Deprecated.
|
FileType |
getFileType()
Deprecated.
|
java.io.File |
getIOFile()
Deprecated.
|
java.lang.String |
getName()
Deprecated.
|
FilePath |
getParentPath()
Deprecated.
|
java.lang.String |
getPath()
Deprecated.
|
java.lang.String |
getPresentableUrl()
Deprecated.
|
VirtualFile |
getVirtualFile()
Deprecated.
|
VirtualFile |
getVirtualFileParent()
Deprecated.
|
void |
hardRefresh()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isDirectory()
Deprecated.
|
boolean |
isNonLocal()
Deprecated.
|
boolean |
isUnder(FilePath parent,
boolean strict)
Deprecated.
Check if the provided file is an ancestor of the current file.
|
void |
refresh()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public FilePathImpl(java.lang.String path,
boolean isDirectory)
@Deprecated public FilePathImpl(VirtualFile file)
LocalFilePath.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 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 java.lang.String toString()
toString in class java.lang.Objectpublic boolean isNonLocal()
isNonLocal in interface FilePath