Package com.iizix.util
Class JarFilePath
java.lang.Object
com.iizix.util.JarFilePath
Class holding an IJarFile and a path inside the Jar file for the JarClassLoader.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionJarFilePath
(IJarFile jarFile, String subDirectory) Constructor for a JarFile with a subdirectory path.JarFilePath
(File directory) Constructor for a directory on the file system.Method Summary
Constructor Details
JarFilePath
Constructor for a JarFile with a subdirectory path.- Parameters:
jarFile
- The Jar file.subDirectory
- The subdirectory or null for Jar file root.- Throws:
IllegalArgumentException
- If thesubDirectory
is not found in the Jar file.
JarFilePath
Constructor for a directory on the file system.- Parameters:
directory
- The instance must be an existing directory.- Throws:
IOException
- If the instance does not exist or is not a directory.
Method Details