public interface IFile extends IResource
Modifier and Type | Field and Description |
---|---|
static IFile[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
String |
getBaseName() |
String |
getExtension() |
static IFile |
getIFile(IFileSystem fs,
Path classFile) |
default IFile |
getPhysicalFile()
Facilitates virtual files e.g., IFileFragment
|
InputStream |
openInputStream() |
OutputStream |
openOutputStream() |
OutputStream |
openOutputStreamForAppend() |
create, delete, exists, getFileSystem, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toURI
static final IFile[] EMPTY_ARRAY
static IFile getIFile(IFileSystem fs, Path classFile)
InputStream openInputStream() throws IOException
IOException
OutputStream openOutputStream() throws IOException
IOException
OutputStream openOutputStreamForAppend() throws IOException
IOException
String getExtension()
String getBaseName()
default IFile getPhysicalFile()
Copyright © 2024. All rights reserved.