public interface IFoundFile
FoundFile.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all opened input streams.
|
String |
getAbsolutePath()
Returns the absolute path to the file or the zip file.
|
File |
getFile()
Returns the concrete file on disk if it is not within a zip file.
|
String |
getFilePath()
Deprecated.
|
ZipFile |
getZipFile()
Returns the zip file or null.
|
InputStream |
inputStream()
Opens the file and returns a new input stream containing the file contents.
|
boolean |
isZipFile()
Returns true if and only if this file is contained within a zip file.
|
default void |
silentClose()
Closes the instance without throwing an exception.
|
@Deprecated String getFilePath()
boolean isZipFile()
ZipFile getZipFile()
File getFile()
String getAbsolutePath()
InputStream inputStream()
void close()
default void silentClose()
Copyright © 2024 Soot OSS. All rights reserved.