Package org.vafer.jdependency
Class Clazzpath
- java.lang.Object
-
- org.vafer.jdependency.Clazzpath
-
public final class Clazzpath extends Object
-
-
Constructor Summary
Constructors Constructor Description Clazzpath()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClazzpathUnitaddClazzpathUnit(File pFile)Add aClazzpathUnitto thisClazzpath.ClazzpathUnitaddClazzpathUnit(File pFile, String pId)ClazzpathUnitaddClazzpathUnit(InputStream pInputStream, String pId)Set<Clazz>getClashedClazzes()ClazzgetClazz(String pClazzName)Set<Clazz>getClazzes()Set<Clazz>getMissingClazzes()ClazzpathUnit[]getUnits()booleanremoveClazzpathUnit(ClazzpathUnit pUnit)
-
-
-
Method Detail
-
removeClazzpathUnit
public boolean removeClazzpathUnit(ClazzpathUnit pUnit)
-
addClazzpathUnit
public final ClazzpathUnit addClazzpathUnit(File pFile) throws IOException
Add aClazzpathUnitto thisClazzpath.- Parameters:
pFile- may be a directory or a jar file- Returns:
- newly created
ClazzpathUnitwith id of pFile.absolutePath - Throws:
IOException
-
addClazzpathUnit
public ClazzpathUnit addClazzpathUnit(File pFile, String pId) throws IOException
- Throws:
IOException
-
addClazzpathUnit
public ClazzpathUnit addClazzpathUnit(InputStream pInputStream, String pId) throws IOException
- Throws:
IOException
-
getUnits
public ClazzpathUnit[] getUnits()
-
-