Package com.intellij.util.io.fs
Interface IFile
-
public interface IFile
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createParentDirs()
boolean
delete()
boolean
exists()
String
getAbsolutePath()
String
getCanonicalPath()
IFile
getChild(String childName)
String
getName()
IFile
getParentFile()
String
getPath()
long
getTimeStamp()
boolean
isDirectory()
long
length()
IFile[]
listFiles()
byte[]
loadBytes()
void
mkDir()
InputStream
openInputStream()
OutputStream
openOutputStream()
void
renameTo(IFile newFile)
-
-
-
Method Detail
-
exists
boolean exists()
-
loadBytes
byte[] loadBytes() throws IOException
- Throws:
IOException
-
openInputStream
InputStream openInputStream() throws IOException
- Throws:
IOException
-
openOutputStream
OutputStream openOutputStream() throws FileNotFoundException
- Throws:
FileNotFoundException
-
delete
boolean delete()
-
renameTo
void renameTo(IFile newFile) throws IOException
- Throws:
IOException
-
createParentDirs
void createParentDirs()
-
getParentFile
IFile getParentFile()
-
getName
String getName()
-
getPath
String getPath()
-
getCanonicalPath
String getCanonicalPath()
-
getAbsolutePath
String getAbsolutePath()
-
length
long length()
-
isDirectory
boolean isDirectory()
-
listFiles
IFile[] listFiles()
-
mkDir
void mkDir()
-
getTimeStamp
long getTimeStamp()
-
-