Package com.intellij.util.io.fs
Interface IFile
-
public interface IFile
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateParentDirs()booleandelete()booleanexists()StringgetAbsolutePath()StringgetCanonicalPath()IFilegetChild(String childName)StringgetName()IFilegetParentFile()StringgetPath()longgetTimeStamp()booleanisDirectory()longlength()IFile[]listFiles()byte[]loadBytes()voidmkDir()InputStreamopenInputStream()OutputStreamopenOutputStream()voidrenameTo(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()
-
-