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.Object
public int hashCode()
hashCode
in class java.lang.Object
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 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 java.lang.String toString()
toString
in class java.lang.Object
public boolean isNonLocal()
isNonLocal
in interface FilePath