Uses of Class
io.github.classgraph.Resource
Packages that use Resource
Package
Description
-
Uses of Resource in io.github.classgraph
Fields in io.github.classgraph declared as ResourceModifier and TypeFieldDescriptionprivate final ResourceClassfile.classfileResourceThe classfile resource.protected ResourceClassInfo.classfileResourceTheResourcefor the classfile of this class.private final ResourceScanner.ClassfileScanWorkUnit.classfileResourceThe classfile resource.Fields in io.github.classgraph with type parameters of type ResourceModifier and TypeFieldDescriptionClasspathElement.acceptedClassfileResourcesThe list of all classfiles found within this classpath element that were accepted and not rejected.ClasspathElement.acceptedResourcesResources found within this classpath element that were accepted and not rejected.private final ConcurrentHashMap<String, Resource> ClasspathElementZip.relativePathToResourceA map from relative path toResourcefor non-rejected zip entries.Methods in io.github.classgraph that return ResourceModifier and TypeMethodDescriptionClassInfo.getResource()TheResourcefor the classfile of this class.(package private) abstract ResourceClasspathElement.getResource(String relativePath) Get theResourcefor a given relative path.(package private) ResourceClasspathElementDir.getResource(String relativePath) Get theResourcefor a given relative path.(package private) ResourceClasspathElementModule.getResource(String relativePath) Get theResourcefor a given relative path.(package private) ResourceClasspathElementZip.getResource(String relativePath) Get theResourcefor a given relative path.private ResourceClasspathElementDir.newResource(Path resourcePath, BasicFileAttributes attributes) Create a newResourceobject for a resource or classfile discovered while scanning paths.private ResourceClasspathElementModule.newResource(String resourcePath) Create a newResourceobject for a resource or classfile discovered while scanning paths.private ResourceClasspathElementZip.newResource(FastZipEntry zipEntry, String pathRelativeToPackageRoot) Create a newResourceobject for a resource or classfile discovered while scanning paths.Methods in io.github.classgraph with parameters of type ResourceModifier and TypeMethodDescriptionvoidConsume the complete content of aResourceas a byte array.voidConsume the complete content of aResourceas a byte array, possibly throwingIOException.voidResourceList.ByteBufferConsumer.accept(Resource resource, ByteBuffer byteBuffer) voidResourceList.ByteBufferConsumerThrowsIOException.accept(Resource resource, ByteBuffer byteBuffer) Consume the complete content of aResourceas a byte array.voidResourceList.InputStreamConsumer.accept(Resource resource, InputStream inputStream) Consume aResourceas anInputStream.voidResourceList.InputStreamConsumerThrowsIOException.accept(Resource resource, InputStream inputStream) Consume the complete content of aResourceas a byte array, possibly throwingIOException.booleanWhether or not to allow aResourcelist item through the filter.protected voidClasspathElement.addAcceptedResource(Resource resource, ScanSpec.ScanSpecPathMatch parentMatchStatus, boolean isClassfileOnly, LogNode log) Add a resource discovered during the scan.(package private) static ClassInfoClassInfo.addScannedClass(String className, int classModifiers, boolean isExternalClass, Map<String, ClassInfo> classNameToClassInfo, ClasspathElement classpathElement, Resource classfileResource) Add a class that has just been scanned (as opposed to just referenced by a scanned class).intCompare to.Constructors in io.github.classgraph with parameters of type ResourceModifierConstructorDescription(package private)Classfile(ClasspathElement classpathElement, List<ClasspathElement> classpathOrder, Set<String> acceptedClassNamesFound, Set<String> classNamesScheduledForExtendedScanning, String relativePath, Resource classfileResource, boolean isExternalClass, ConcurrentHashMap<String, String> stringInternMap, WorkQueue<Scanner.ClassfileScanWorkUnit> workQueue, ScanSpec scanSpec, LogNode log) Directly examine contents of classfile binary header to determine annotations, implemented interfaces, the super-class etc.(package private)ClassfileScanWorkUnit(ClasspathElement classpathElement, Resource classfileResource, boolean isExternalClass) Constructor.protectedConstructor.Constructor parameters in io.github.classgraph with type arguments of type ResourceModifierConstructorDescriptionResourceList(Collection<Resource> resourceCollection) Create a new modifiable emptyResourceList, given an initial collection ofResourceobjects. -
Uses of Resource in nonapi.io.github.classgraph.fileslice
Methods in nonapi.io.github.classgraph.fileslice with parameters of type Resource -
Uses of Resource in nonapi.io.github.classgraph.fileslice.reader
Fields in nonapi.io.github.classgraph.fileslice.reader declared as ResourceModifier and TypeFieldDescriptionprivate ResourceClassfileReader.resourceToCloseThe underlying resource to close whenClassfileReader.close()is called.Constructors in nonapi.io.github.classgraph.fileslice.reader with parameters of type ResourceModifierConstructorDescriptionClassfileReader(InputStream inputStream, Resource resourceToClose) Constructor for reader of moduleInputStream(which is not deflated).ClassfileReader(Slice slice, Resource resourceToClose) Constructor.