Uses of Class
nonapi.io.github.classgraph.fileslice.Slice
-
Packages that use Slice Package Description nonapi.io.github.classgraph.fastzipfilereader nonapi.io.github.classgraph.fileslice nonapi.io.github.classgraph.fileslice.reader -
-
Uses of Slice in nonapi.io.github.classgraph.fastzipfilereader
Fields in nonapi.io.github.classgraph.fastzipfilereader declared as Slice Modifier and Type Field Description private Slice
FastZipEntry. slice
TheSlice
for the zip entry's raw data (which can be either stored or deflated).(package private) Slice
PhysicalZipFile. slice
TheSlice
for the zipfile.Slice
ZipFileSlice. slice
TheSlice
containing the zipfile.Fields in nonapi.io.github.classgraph.fastzipfilereader with type parameters of type Slice Modifier and Type Field Description private java.util.Set<Slice>
NestedJarHandler. openSlices
FileSlice
instances that are currently open.Methods in nonapi.io.github.classgraph.fastzipfilereader that return Slice Modifier and Type Method Description Slice
FastZipEntry. getSlice()
Lazily get zip entry slice -- this is deferred until zip entry data needs to be read, in order to avoid randomly seeking within zipfile for every entry as the central directory is read.Slice
NestedJarHandler. readAllBytesWithSpilloverToDisk(java.io.InputStream inputStream, java.lang.String tempFileBaseName, long inputStreamLengthHint, LogNode log)
Read all the bytes in anInputStream
, with spillover to a temporary file on disk if a maximum buffer size is exceeded.Methods in nonapi.io.github.classgraph.fastzipfilereader with parameters of type Slice Modifier and Type Method Description void
NestedJarHandler. markSliceAsClosed(Slice slice)
Mark aSlice
as closed.void
NestedJarHandler. markSliceAsOpen(Slice slice)
Mark aSlice
as open, so it can be closed when theScanResult
is closed. -
Uses of Slice in nonapi.io.github.classgraph.fileslice
Subclasses of Slice in nonapi.io.github.classgraph.fileslice Modifier and Type Class Description class
ArraySlice
A byte array slice.class
FileSlice
AFile
slice.class
PathSlice
APath
slice.Fields in nonapi.io.github.classgraph.fileslice declared as Slice Modifier and Type Field Description protected Slice
Slice. parentSlice
The parent slice.Methods in nonapi.io.github.classgraph.fileslice that return Slice Modifier and Type Method Description Slice
ArraySlice. slice(long offset, long length, boolean isDeflatedZipEntry, long inflatedLengthHint)
Slice this slice to form a sub-slice.Slice
FileSlice. slice(long offset, long length, boolean isDeflatedZipEntry, long inflatedLengthHint)
Slice the file.Slice
PathSlice. slice(long offset, long length, boolean isDeflatedZipEntry, long inflatedLengthHint)
Slice the file.abstract Slice
Slice. slice(long offset, long length, boolean isDeflatedZipEntry, long inflatedLengthHint)
Constructors in nonapi.io.github.classgraph.fileslice with parameters of type Slice Constructor Description Slice(Slice parentSlice, long offset, long length, boolean isDeflatedZipEntry, long inflatedLengthHint, NestedJarHandler nestedJarHandler)
Constructor for treating a range of a slice as a sub-slice. -
Uses of Slice in nonapi.io.github.classgraph.fileslice.reader
Constructors in nonapi.io.github.classgraph.fileslice.reader with parameters of type Slice Constructor Description ClassfileReader(Slice slice, Resource resourceToClose)
Constructor.
-