Package org.djutils.reflection
Class ClassUtil.ClassFileDescriptor
java.lang.Object
org.djutils.reflection.ClassUtil.ClassFileDescriptor
- Enclosing class:
- ClassUtil
ClassFileDescriptor contains some information about a class file, either stand-alone on the classpath, or within a Jar
file.
Copyright (c) 2019-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
Copyright (c) 2019-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
- Author:
- Alexander Verbraeck
-
Constructor Summary
ConstructorDescriptionClassFileDescriptor
(File classFile) Construct a ClassFileDescriptor from a File.ClassFileDescriptor
(JarEntry jarEntry, String path) Construct a ClassFileDescriptor from a JarEntry.ClassFileDescriptor
(ZipEntry zipEntry, String path) Construct a ClassFileDescriptor from a ZipEntry. -
Method Summary
-
Constructor Details
-
ClassFileDescriptor
Construct a ClassFileDescriptor from a File.- Parameters:
classFile
- File; the file to use.
-
ClassFileDescriptor
Construct a ClassFileDescriptor from a JarEntry.- Parameters:
jarEntry
- JarEntry; the JarEntry to use.path
- String; the path of the JarEntry
-
ClassFileDescriptor
Construct a ClassFileDescriptor from a ZipEntry.- Parameters:
zipEntry
- ZipEntry; the ZipEntry to use.path
- String; the path of the ZipEntry
-
-
Method Details