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 ClazzpathUnit
addClazzpathUnit(File pFile)
Add aClazzpathUnit
to thisClazzpath
.ClazzpathUnit
addClazzpathUnit(File pFile, String pId)
ClazzpathUnit
addClazzpathUnit(InputStream pInputStream, String pId)
Set<Clazz>
getClashedClazzes()
Clazz
getClazz(String pClazzName)
Set<Clazz>
getClazzes()
Set<Clazz>
getMissingClazzes()
ClazzpathUnit[]
getUnits()
boolean
removeClazzpathUnit(ClazzpathUnit pUnit)
-
-
-
Method Detail
-
removeClazzpathUnit
public boolean removeClazzpathUnit(ClazzpathUnit pUnit)
-
addClazzpathUnit
public final ClazzpathUnit addClazzpathUnit(File pFile) throws IOException
Add aClazzpathUnit
to thisClazzpath
.- Parameters:
pFile
- may be a directory or a jar file- Returns:
- newly created
ClazzpathUnit
with 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()
-
-